VinculumConfigBuilder class
Builder for creating VinculumConfig
Constructors
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
-
authServiceUrl(
String url) → VinculumConfigBuilder - Sets the auth service URL
-
autoRefresh(
[bool enable = true]) → VinculumConfigBuilder - Enables or disables automatic token refresh
-
baseUrl(
String url) → VinculumConfigBuilder - Sets the base URL
-
build(
) → VinculumConfig - Builds the configuration
-
connectTimeout(
Duration duration) → VinculumConfigBuilder - Sets the connection timeout
-
databaseServiceUrl(
String url) → VinculumConfigBuilder - Sets the database service URL
-
enableLogging(
[bool enable = true]) → VinculumConfigBuilder - Enables logging
-
header(
String key, String value) → VinculumConfigBuilder - Adds a custom header
-
headers(
Map< String, String> headers) → VinculumConfigBuilder - Adds multiple custom headers
-
logLevel(
Level level) → VinculumConfigBuilder - Sets the log level
-
maxRetries(
int count) → VinculumConfigBuilder - Sets the maximum number of retries
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
realtimeServiceUrl(
String url) → VinculumConfigBuilder - Sets the realtime service URL
-
retryDelay(
Duration duration) → VinculumConfigBuilder - Sets the delay between retries
-
storageServiceUrl(
String url) → VinculumConfigBuilder - Sets the storage service URL
-
timeout(
Duration duration) → VinculumConfigBuilder - Sets the request timeout
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited