OobCodeRequest.verifyEmail constructor

const OobCodeRequest.verifyEmail({
  1. required String idToken,
  2. @Default(OobCodeRequestType.VERIFY_EMAIL) OobCodeRequestType requestType,
})

Implementation

const factory OobCodeRequest.verifyEmail({
  /// The Firebase ID token of the user to verify.
  required String idToken,

  /// The type of confirmation code to send. Should always be
  /// [OobCodeRequestType.VERIFY_EMAIL].
  @Default(OobCodeRequestType.VERIFY_EMAIL) OobCodeRequestType requestType,
}) = VerifyEmailRequest;