class Dimension { int? width; int? height; int? rotate; Dimension({this.width, this.height, this.rotate}); factory Dimension.fromJson(Map json) => Dimension( width: json['width'] as int?, height: json['height'] as int?, rotate: json['rotate'] as int?, ); }