stopFaceRecognition method

  1. @override
Future<bool> stopFaceRecognition()
override

Implementation

@override
Future<bool> stopFaceRecognition() async {
  try {
    final result = await methodChannel.invokeMethod<bool>(
      'stopFaceRecognition',
    );
    return result ?? false;
  } on PlatformException catch (e) {
    debugPrint('Error calling goTo: ${e.message}');
    return false;
  }
}