GifImages.fromJson constructor
GifImages.fromJson(
- Map<String, dynamic> json
)
Implementation
factory GifImages.fromJson(Map<String, dynamic> json) => GifImages(
original: json['original'] == null
? null
: FixedHeight.fromJson(json['original'] as Map<String, dynamic>),
fixedHeight: json['fixed_height'] == null
? null
: FixedHeight.fromJson(
json['fixed_height'] as Map<String, dynamic>,
),
fixedHeightDownsampled: json['fixed_height_downsampled'] == null
? null
: FixedHeight.fromJson(
json['fixed_height_downsampled'] as Map<String, dynamic>,
),
fixedHeightSmall: json['fixed_height_small'] == null
? null
: FixedHeight.fromJson(
json['fixed_height_small'] as Map<String, dynamic>,
),
fixedWidth: json['fixed_width'] == null
? null
: FixedHeight.fromJson(json['fixed_width'] as Map<String, dynamic>),
fixedWidthDownsampled: json['fixed_width_downsampled'] == null
? null
: FixedHeight.fromJson(
json['fixed_width_downsampled'] as Map<String, dynamic>,
),
fixedWidthSmall: json['fixed_width_small'] == null
? null
: FixedHeight.fromJson(
json['fixed_width_small'] as Map<String, dynamic>,
),
);