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