Config class
The configuration of a Kabelwerk instance.
Constructors
- Config()
- Do not create instances directly — use Kabelwerk.config instead.
Properties
-
ensureRoomsOn
↔ List<
String> -
A list of hubs on which to create rooms, if these do not exist already,
for the connected user.
getter/setter pair
- ensureRoomsOnAllHubs ↔ bool
-
Whether to ensure that the connected user has rooms on all hubs.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
-
refreshToken
↔ (Future<
String> Function(String)?) -
A function to refresh rejected tokens.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- token ↔ String
-
A JWT token to
authenticate the connection.
getter/setter pair
- url ↔ String
-
The URL of the Kabelwerk backend to connect to.
getter/setter pair
Methods
-
getApiUrl(
) → String - Returns the API URL.
-
getSocketUrl(
) → String - Returns the websocket URL.
-
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