ConfigCatOptions class
Configuration options for ConfigCatClient.
Constructors
- ConfigCatOptions({String baseUrl = '', DataGovernance dataGovernance = DataGovernance.global, PollingMode pollingMode = PollingMode.defaultMode, ConfigCatCache? cache, ConfigCatLogger? logger, Duration connectTimeout = const Duration(seconds: 10), Duration receiveTimeout = const Duration(seconds: 20), Duration sendTimeout = const Duration(seconds: 20), HttpClientAdapter? httpClientAdapter, FlagOverrides? override, ConfigCatUser? defaultUser, Hooks? hooks, bool offline = false})
-
const
Properties
- baseUrl → String
-
final
- cache → ConfigCatCache?
-
final
- connectTimeout → Duration
-
final
- dataGovernance → DataGovernance
-
final
- defaultUser → ConfigCatUser?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- hooks → Hooks?
-
final
- httpClientAdapter → HttpClientAdapter?
-
final
- logger → ConfigCatLogger?
-
final
- offline → bool
-
final
- override → FlagOverrides?
-
final
- pollingMode → PollingMode
-
final
- receiveTimeout → Duration
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sendTimeout → Duration
-
final
Methods
-
isBaseUrlCustom(
) → bool -
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
Constants
- defaultOptions → const ConfigCatOptions