stopPreview method
Implementation
Future<bool> stopPreview() async {
try {
final bool result = await _channel.invokeMethod('stopPreview');
print("stopPreview: $result");
return result;
} on PlatformException catch (e) {
print("Error stopPreview: $e.message");
}
return false;
}