Image.fromJson constructor

Image.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory Image.fromJson(Map<String, dynamic> json) {
  return Image(
    idiom: json['idiom'],
    filename: json['filename'],
    scale: json['scale'],
  );
}