OobCodeRequest.passwordReset constructor

const OobCodeRequest.passwordReset({
  1. required String email,
  2. @Default(OobCodeRequestType.PASSWORD_RESET) OobCodeRequestType requestType,
})

Implementation

const factory OobCodeRequest.passwordReset({
  /// User's email address.
  required String email,

  /// The kind of OOB code to return. Should be
  /// [OobCodeRequestType.PASSWORD_RESET] for password reset.
  @Default(OobCodeRequestType.PASSWORD_RESET) OobCodeRequestType requestType,
}) = PasswordRestRequest;