findAccountRequest static method

Future<EmailCreateAccountRequest?> findAccountRequest(
  1. Session session,
  2. String email
)

Returns an EmailCreateAccountRequest if one exists for the provided email, null otherwise.

Implementation

static Future<EmailCreateAccountRequest?> findAccountRequest(
  Session session,
  String email,
) async {
  return await EmailCreateAccountRequest.findSingleRow(
    session,
    where: (t) => t.email.equals(email),
  );
}