factory ImageDimensions.fromJson(Map<String, dynamic> json) => ImageDimensions( width: json['width'] as int, height: json['height'] as int, );