Spect8Client class
A client initiating interactions with server.
Purpose of the client is to make it convenient and possible for arbitrary code to formulate a request and attract the attention of the server.
client is responsible for APIs, Event Management and Web Sockets
client acts as the main entry point for the SDK
Constructors
- Spect8Client.new({ClientConfig? config})
- The constructor used to fetch the client object should be used/called only once
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
-
connectDemoUser(
{required String demoUserId, required String tenantId}) → Future< TenantManager> - Authenticates a demo user
-
connectUser(
{required String tenantId, required String jwtToken}) → Future< TenantManager> - Authenticates a user with the provided token
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited