orEmpty property

String get orEmpty

Returns the string, or an empty string "" if null.

Implementation

String get orEmpty => this ?? '';