MimeType first

Source

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