UpdateRequest.email constructor

const UpdateRequest.email({
  1. required String idToken,
  2. required String email,
  3. @Default(false) bool returnSecureToken,
})

Implementation

const factory UpdateRequest.email({
  /// A Firebase Auth ID token for the user.
  required String idToken,

  /// The user's new email.
  required String email,

  /// Whether or not to return an ID and refresh token.
  @Default(false) bool returnSecureToken,
}) = EmailUpdateRequest;