toAcceptHeader method

AcceptHeader toAcceptHeader()

Implementation

AcceptHeader toAcceptHeader() {
  switch (this) {
    case 'image/jpeg':
      return AcceptHeader.imageJpeg;
  }
  throw Exception('$this is not known in enum AcceptHeader');
}