toValue method
Implementation
String toValue() {
switch (this) {
case ContentType.applicationJson:
return 'application/json';
case ContentType.applicationXml:
return 'application/xml';
}
}
String toValue() {
switch (this) {
case ContentType.applicationJson:
return 'application/json';
case ContentType.applicationXml:
return 'application/xml';
}
}