Resolution.fromJson constructor

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

Implementation

factory Resolution.fromJson(Map<String, dynamic> json) {
  return Resolution(
    height: json['height'] as int?,
    width: json['width'] as int?,
  );
}