lastOrEmpty property

String lastOrEmpty

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

Implementation

String get lastOrEmpty => lastOrNull ?? '';