Sub2ApiConfiguration class final
Immutable connection settings for a Sub2ApiClient.
Constructors
Properties
- allowInsecureHttp → bool
-
Whether plain HTTP is allowed for a controlled development deployment.
final
- connectTimeout → Duration
-
Maximum time allowed to establish a connection.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- origin → Uri
-
Absolute server origin. Endpoint paths are resolved internally.
final
- receiveTimeout → Duration
-
Maximum time allowed to receive an individual response.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sendTimeout → Duration
-
Maximum time allowed to send an individual request body.
final
- totalRequestTimeout → Duration
-
End-to-end budget shared by the initial request, refresh, and replay.
final
Methods
-
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