CameraResolutionChangedEvent.fromJson constructor
Converts the supplied Map to an instance of the CameraResolutionChangedEvent class.
Implementation
CameraResolutionChangedEvent.fromJson(Map<String, dynamic> json)
    : captureWidth = json['captureWidth']! as double,
      captureHeight = json['captureHeight']! as double,
      super(json['cameraId']! as int);