Size.fromJson constructor

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

Implementation

factory Size.fromJson(Map<String, dynamic> json) => new Size(
      w: json["w"] == null ? null : json["w"],
      h: json["h"] == null ? null : json["h"],
      resize: json["resize"] == null ? null : json["resize"],
    );