Resolution.fromJson constructor
Creates Resolution object from json
Implementation
factory Resolution.fromJson(Map<String, dynamic> json) {
return Resolution(json['width'], json['height']);
}
Creates Resolution object from json
factory Resolution.fromJson(Map<String, dynamic> json) {
return Resolution(json['width'], json['height']);
}