Hexabase class

Constructors

Hexabase({HexabaseEnv env = HexabaseEnv.production, String? graphQLUrl, String? restUrl, String? pubSubUrl})

Properties

connectionCount int
getter/setter pair
currentUser HexabaseUser?
getter/setter pair
currentWorkspace HexabaseWorkspace
getter/setter pair
env HexabaseEnv
final
expiryDate DateTime
getter/setter pair
graphQLClient ↔ GraphQLClient
getter/setter pair
graphQLUrl String
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
hubConnection ↔ HubConnection?
getter/setter pair
persistence int
getter/setter pair
pubSubUrl String
getter/setter pair
restUrl String
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
token String?
getter/setter pair

Methods

connected() bool
connectPubSub() Future<bool>
getCurrentUser() Future<HexabaseUser?>
group({String? id}) Future<HexabaseGroup>
groups() Future<List<HexabaseGroup>>
init() → void
isLogin() Future<bool>
login(String email, String password) Future<bool>
loginAuth0(String token) Future<bool>
logout() Future<bool>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setToken(String token) Future<bool>
setWorkspace(String workspaceId) Future<HexabaseWorkspace>
toString() String
A string representation of this object.
inherited
unsubscribe(String channel) Future<void>
workspace({String? id}) HexabaseWorkspace
workspaces() Future<List<HexabaseWorkspace>>

Operators

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

Static Properties

instance Hexabase
no setter
persistenceLocal int
getter/setter pair
persistenceNone int
getter/setter pair