toJson method
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,
};