onSignOut method

dynamic onSignOut(
  1. SignOutEvent event,
  2. dynamic emit
)

Implementation

onSignOut(SignOutEvent event, emit) {
  FirebaseMessaging.instance.deleteToken();
  emit(SignOutState());
}