stopCamera method
Stops the camera and releases resources.
Implementation
@override
Future<void> stopCamera() async {
try {
await _channel.invokeMethod<void>('stopCamera');
} catch (_) {
// Silently ignore: camera may already be stopped.
}
}