fromJson static method
Implementation
// ignore: prefer_constructors_over_static_methods
static ImageData? fromJson(dynamic value) {
if (value is Map) {
final json = value.cast<String, dynamic>();
return ImageData(
fileName: mapValueOfType<String>(json, r'fileName'),
thumbnail: Image.fromJson(json[r'thumbnail']),
original: Image.fromJson(json[r'original']),
);
}
return null;
}