fromMap static method
Gets a possible CustomSchemeResponse instance from a Map value.
Implementation
static CustomSchemeResponse? fromMap(Map<String, dynamic>? map) {
if (map == null) {
return null;
}
final instance = CustomSchemeResponse(
contentType: map['contentType'],
data: map['data'],
);
instance.contentEncoding = map['contentEncoding'];
return instance;
}