authenticate method

  1. @override
Future<bool> authenticate({
  1. bool useFace = false,
})
override

Implementation

@override
Future<bool> authenticate({bool useFace = false}) async {
  final bool? isAuthenticated = await methodChannel.invokeMethod<bool>(
    'authenticate',
    {'useFace': useFace},
  );
  return isAuthenticated ?? false;
}