Dimensions.fromJson constructor

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

from json

Implementation

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