UpdateRequest.linkEmail constructor

const UpdateRequest.linkEmail({
  1. required String idToken,
  2. required String email,
  3. required String password,
  4. @Default(true) bool returnSecureToken,
})

Implementation

const factory UpdateRequest.linkEmail({
  /// The Firebase ID token of the account you are trying to link the
  /// credential to.
  required String idToken,

  /// The email to link to the account.
  required String email,

  /// The new password of the account.
  required String password,

  /// Whether or not to return an ID and refresh token. Should always be true.
  @Default(true) bool returnSecureToken,
}) = LinkEmailRequest;