BKTConfigBuilder class
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
-
apiEndpoint(
String apiEndpoint) → BKTConfigBuilder -
apiKey(
String apiKey) → BKTConfigBuilder -
appVersion(
String appVersion) → BKTConfigBuilder -
backgroundPollingInterval(
int backgroundPollingInterval) → BKTConfigBuilder -
build(
) → BKTConfig -
Create an BKTConfig from the current builder configuration.
Throws a ArgumentError if the
apiKey
,apiEndpoint
,appVersion
are empty. The native SDK will configure the following values by default when it is not set:eventsFlushInterval
,eventsMaxBatchQueueCount
,pollingInterval
,backgroundPollingInterval
Check the documentation for more information -
debugging(
bool debugging) → BKTConfigBuilder -
eventsFlushInterval(
int eventsFlushInterval) → BKTConfigBuilder -
eventsMaxQueueSize(
int eventsMaxQueueSize) → BKTConfigBuilder -
featureTag(
String featureTag) → BKTConfigBuilder -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
pollingInterval(
int pollingInterval) → BKTConfigBuilder -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited