lastOrEmpty property

String lastOrEmpty

Returns last symbol of string or empty string if it's empty

Implementation

String get lastOrEmpty => lastOrNull ?? '';