orEmpty method

String orEmpty()

Returns the value or an empty string.

Implementation

String orEmpty() => this ?? '';