orEmpty method

String orEmpty()

Gets the same string if it is not null or empty. Otherwise it returns an empty string.

Implementation

String orEmpty() => or('');