CurrentUser class Null safety

Inheritance

Constructors

CurrentUser.fromJSON(Map<String, dynamic> json)

Properties

avatarUrl String?
final, inherited
banInfo BanInfo?
final, inherited
displayName String
final, inherited
hashCode int
The hash code for this object. [...]
read-only, inherited
identities Map<String, String>
final, inherited
isAnonymous bool
read-only, inherited
privateProperties Map<String, String>
final, inherited
publicProperties Map<String, String>
final, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
userId String
final, inherited
verified bool
final, inherited

Methods

addIdentity(Identity identity, Function onSuccess, dynamic onConflict(ConflictUser), Function onError) → void
Adds Identity for the specified provider. [...]
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
removeIdentity(String providerId) Future
Removes Identity for the specified provider. [...]
toString() String
A string representation of this object. [...]
updateDetails(UserUpdate update) Future
Requests a bulk change of properties for the current user. [...]

Operators

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