String last

Source

String get last {
  int len = this.length;
  if (len > 0) {
    return _nativeIndexedGetter(len - 1);
  }
  throw new StateError("No elements");
}