toJson method

Map<String, dynamic> toJson()

Converts the CameraResolutionChangedEvent instance into a Map instance that can be serialized to JSON.

Implementation

Map<String, dynamic> toJson() => <String, Object>{
      'cameraId': cameraId,
      'captureWidth': captureWidth,
      'captureHeight': captureHeight,
    };