signOut method

Future<void> signOut()

Sign Out

Implementation

Future<void> signOut() async {
  await _handleAccountOperation(
    operationName: 'Logging out',
    successMessage: 'You have been signed out!',
    closeOverlaysOnSuccess: true,
    authOperation: () async {
      //TODO: does maybe not update
      await FirebaseAuth.instance.signOut();
      Get.offAllNamed(RouteNavigation.home);
    },
  );
}