last property

String last

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

Implementation

String get last {
  if (this.isNullOrEmpty()) return "";
  return this![this!.length - 1];
}