PollingMode class abstract

The base class of a polling mode configuration.

Implementers

Constructors

PollingMode.autoPoll({dynamic autoPollInterval = const Duration(seconds: 60), dynamic maxInitWaitTime = const Duration(seconds: 5)})
Creates a configured auto polling configuration.
factory
PollingMode.lazyLoad({dynamic cacheRefreshInterval = const Duration(seconds: 60)})
Creates a configured lazy loading polling configuration.
factory
PollingMode.manualPoll()
Creates a configured manual polling configuration.
factory

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

getPollingIdentifier() String
Gets the current polling mode's identifier. Used for analytical purposes in HTTP User-Agent headers.
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

defaultMode → const AutoPollingMode
The default polling mode used by ConfigCatClient when no mode is set.