getContentType static method
Implementation
static String? getContentType(Map<String, dynamic>? headers) {
if (headers != null) {
if (headers.containsKey(_jsonContentTypeSmall)) {
return headers[_jsonContentTypeSmall] as String?;
}
if (headers.containsKey(_jsonContentTypeBig)) {
return headers[_jsonContentTypeBig] as String?;
}
}
return _unknownContentType;
}