Screenshot.fromJson constructor
Implementation
factory Screenshot.fromJson(Map<String, dynamic> json) {
return Screenshot(
image: ImageResource.fromJson(json['image'] as Map<String, dynamic>),
formFactor: json['formFactor'] as String,
label: json.containsKey('label') ? json['label'] as String : null,
);
}