enableSmartCapture method

  1. @override
Future<void> enableSmartCapture(
  1. bool val
)
override

Implementation

@override
Future<void> enableSmartCapture(bool val) async {
  try {
    await methodChannel.invokeMethod(METHOD_TOGGLE_SMART_CAPTURE, val);
  } on PlatformException catch (e) {
    //exception handling
    throw _libException(e);
  }
}