reload method

Future<void> reload()

Implementation

Future<void> reload() async {
  await user.reload();

  if (user.email == null) {
    value = EmailVerificationState.unresolved;
  } else if (user.emailVerified) {
    value = EmailVerificationState.verified;
  } else {
    value = EmailVerificationState.unverified;
  }
}