toJson method

Map<String, dynamic> toJson()

Implementation

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