Size.fromJson constructor

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

Implementation

factory Size.fromJson(Map<String, dynamic> json) => Size(
      width: (json["width"]),
      height: (json["height"]),
    );