pausePreview method Null safety
- int cameraId
override
Pause the active preview on the current frame for the selected camera.
Implementation
@override
Future<void> pausePreview(int cameraId) async {
try {
getCamera(cameraId).pause();
} on html.DomException catch (e) {
throw PlatformException(code: e.name, message: e.message);
}
}