Sizes.fromJson constructor

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

Implementation

factory Sizes.fromJson(Map<String, dynamic> json) => new Sizes(
      thumb: json["thumb"] == null ? null : Size.fromJson(json["thumb"]),
      small: json["small"] == null ? null : Size.fromJson(json["small"]),
      large: json["large"] == null ? null : Size.fromJson(json["large"]),
      medium: json["medium"] == null ? null : Size.fromJson(json["medium"]),
    );