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
constfactory
- UpdateRequest.email({required String idToken, required String email, @Default(false) bool returnSecureToken})
-
https://firebase.google.com/docs/reference/rest/auth#section-change-email
constfactory
-
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
constfactory
- UpdateRequest.password({required String idToken, required String password, @Default(true) bool returnSecureToken})
-
https://firebase.google.com/docs/reference/rest/auth#section-change-password
constfactory
-
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
constfactory
-
UpdateRequest.unlink({required String idToken, required List<
String> deleteProvider}) -
https://firebase.google.com/docs/reference/rest/auth#section-unlink-provider
constfactory
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