OobCodeRequest.passwordReset constructor
const
OobCodeRequest.passwordReset({
- required String email,
- @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;