onError method
Called if an error occured during the authentication process.
Implementation
@override
void onError(Object error) {
try {
defaultOnAuthError(provider, error);
} on AuthCancelledException {
reset();
} on Exception catch (err) {
value = AuthFailed(err);
}
}