sendEmailVerification method

Future<void> sendEmailVerification()

Implementation

Future<void> sendEmailVerification() async {
  User? user = currentUser;
  if (user != null && !user.emailVerified) {
    await user.sendEmailVerification();
  }
}