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