toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  return {
    'captureMode': captureMode.index,
    'canCaptureMultiplePhotos': canCaptureMultiplePhotos,
    'cameraPosition': cameraPosition,
    'cameraPhotoFlash': cameraPhotoFlash,
    'cameraVideoTorch': cameraVideoTorch,
  };
}