orDefault

Returns this Style if it's not null, otherwise returns the default empty Style singleton.

This extension function provides a safe way to handle nullable Style objects by ensuring a non-null Style is always returned, making it easier to chain style operations without null checks.

Return

this Style if not null, or Style.Companion (the empty Style singleton) if null

Receiver

Style? A nullable Style instance