firstOrEmpty property

String firstOrEmpty

Returns last symbol of string or empty string if this is null or empty

Implementation

String get firstOrEmpty => firstOrNull ?? '';