deserialize method
Implementation
@override
void deserialize(Map<String, dynamic>? json) {
if (json == null) {
throw ApiException(400, 'Failed to deserialize ImageEntry data model.');
}
super.deserialize(json);
if (json.containsKey('FileReference')) {
throw ApiException(
400, 'File content is not supported for deserialization.');
} else {
fileReference = null;
}
}