toJson method
Converts the CameraErrorEvent instance into a Map instance that can be serialized to JSON.
Implementation
Map<String, dynamic> toJson() => <String, Object>{
'cameraId': cameraId,
'description': description,
};
Converts the CameraErrorEvent instance into a Map instance that can be serialized to JSON.
Map<String, dynamic> toJson() => <String, Object>{
'cameraId': cameraId,
'description': description,
};