Dimension.fromJson constructor

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

Implementation

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