Dimensions.fromJson constructor
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"],
);