last property

String last

Returns the last symbol in string

Implementation

String get last => isEmpty.not() ? this[length - 1] : this;