SizeWithUnit.fromJSON(Map<String, dynamic> json) : this(DoubleWithUnit.fromJSON(json['width']), DoubleWithUnit.fromJSON(json['height']));