toJson method
Implementation
Map<String, dynamic> toJson() => {
'deviceId': deviceId,
'deviceName': deviceName,
'isSelectedDevice': isSelectedDevice,
'cameraFacingType': cameraFacingType,
'position': position,
'deviceType': deviceType,
'maxZoomFactor': maxZoomFactor,
'videoZoomFactorUpscaleThreshold': videoZoomFactorUpscaleThreshold
};