UpdateRequest class sealed

Meta-Class for multiple API-Endpoints

Implementers
Annotations
  • @freezed

Constructors

UpdateRequest.confirmEmail({required String oobCode})
https://firebase.google.com/docs/reference/rest/auth#section-confirm-email-verification
const
factory
UpdateRequest.email({required String idToken, required String email, @Default(false) bool returnSecureToken})
https://firebase.google.com/docs/reference/rest/auth#section-change-email
const
factory
UpdateRequest.fromJson(Map<String, dynamic> json)
JSON constructor
factory
UpdateRequest.linkEmail({required String idToken, required String email, required String password, @Default(true) bool returnSecureToken})
https://firebase.google.com/docs/reference/rest/auth#section-link-with-email-password
const
factory
UpdateRequest.password({required String idToken, required String password, @Default(true) bool returnSecureToken})
https://firebase.google.com/docs/reference/rest/auth#section-change-password
const
factory
UpdateRequest.profile({required String idToken, String? displayName, Uri? photoUrl, @Default(<DeleteAttribute>[]) List<DeleteAttribute> deleteAttribute, @Default(false) bool returnSecureToken})
https://firebase.google.com/docs/reference/rest/auth#section-update-profile
const
factory
https://firebase.google.com/docs/reference/rest/auth#section-unlink-provider
const
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited