stopAuthentication method

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

Cancels any authentication currently in progress.

Returns true if auth was cancelled successfully. Returns false if there was no authentication in progress, or an error occurred.

Implementation

@override
Future<bool> stopAuthentication() async =>
    await _channel.invokeMethod<bool>('stopAuthentication') ?? false;