resetPassword static method

Future resetPassword({
  1. required String email,
})

Implementation

static Future resetPassword({
  required String email,
}) async {
  if (Platform.isWindows) {
    try {
      return await FireDartFirebaseAuth.instance.resetPassword(email);
    } on Exception catch (_) {
      //
    }
  } else {
    try {
      return await FirebaseAuth.instance.sendPasswordResetEmail(email: email);
    } on Exception catch (_) {
      //
    }
  }
}