orEmpty property

String get orEmpty

Returns the string if it is not null, or the empty string otherwise.

Implementation

String get orEmpty => this ?? '';