signOutHandler method

  1. @override
Future<void> signOutHandler ()
override

Implementation

@override
Future<void> signOutHandler() async {
  bool signedIn = await isSignedIn();
  if (!signedIn) {
    throw 'already_signed_out';
  } else {
    await authProvider.signOut();
  }
}