first property

Map first

Implementation

Map get first {
  if (this.length > 0) {
    return JS('Map', '#[0]', this);
  }
  throw new StateError("No elements");
}