getContentType method
Implementation
String getContentType() {
if (this is! Map<String, dynamic>) return '';
final headers = this as Map<String, dynamic>;
if (headers.containsKey(_jsonContentTypeSmall)) {
return headers[_jsonContentTypeSmall];
}
if (headers.containsKey(_jsonContentTypeBig)) {
return headers[_jsonContentTypeBig];
}
return _unknownContentType;
}