HexabaseUser class

Constructors

HexabaseUser({Map<String, dynamic>? params})

Properties

currentWorkspace HexabaseWorkspace?
getter/setter pair
email String?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id String?
getter/setter pair
isWsAdmin bool
getter/setter pair
name String?
getter/setter pair
profilePicture String?
getter/setter pair
roles List<HexabaseUserRole>
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

fetch() Future<bool>
logout() Future<bool>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
set(String key, dynamic value) HexabaseUser
sets(Map<String, dynamic> params) HexabaseUser
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

prefs ↔ SharedPreferences
getter/setter pair
tokenName String
getter/setter pair

Static Methods

current() Future<HexabaseUser?>
login(String email, String password) Future<bool>
loginAuth0(String token) Future<bool>
setToken(String token) Future<bool>