value property

String get value

Implementation

String get value {
  switch (this) {
    case applicationJson:
      return 'application/json';
    case textPlain:
      return 'text/plain';
    case applicationXml:
      return 'application/xml';
  }
}