User class

Constructors

User({String? id, String? issuer, String? clientUserID, List? enrolled, String? identifier})
User.fromJson(Map<String, dynamic> json)
factory

Properties

clientUserID String?
getter/setter pair
cotter Cotter?
getter/setter pair
enrolled List?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id String?
getter/setter pair
identifier String?
getter/setter pair
issuer String?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

checkNewSignInRequest({required BuildContext context}) Future<Event?>
isThisDeviceTrusted() Future<bool?>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
registerDevice() Future<User>
store() Future<void>
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
override
verifyEmailWithOTP({required String redirectURL}) Future<User>
Verify user email with OTP.
verifyPhoneWithOTPViaSMS({required String redirectURL}) Future<User>
Verify user email with OTP via text messages (SMS).
verifyPhoneWithOTPViaWhatsApp({required String redirectURL}) Future<User>
Verify user email with OTP via text messages (WhatsApp).
withCotter(Cotter cotter) User

Operators

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

Static Methods

getLoggedInUser({Cotter? cotter}) Future<User>
logOut() Future<void>