cancelAuthentication method
override
Dismisses the authentication prompt that is being shown, if any.
Returns true if there was a prompt to dismiss, false otherwise.
Implementation
@override
Future<bool> cancelAuthentication() async {
return await methodChannel.invokeMethod<bool>('cancelAuthentication') ??
false;
}