stopAuthentication static method
Returns true if auth was cancelled successfully. This api only works for Android. Returns false if there was some error or no auth in progress.
Returns Future bool true or false:
Implementation
static Future<bool> stopAuthentication() async {
if (_platform.isAndroid) {
return await _channel.invokeMethod<bool>('stopAuthentication') ?? false;
}
return true;
}