ColdStartConfig class

Configuration for cold start synchronization behavior.

Constructors

ColdStartConfig({ColdStartStrategy strategy = ColdStartStrategy.adaptive, Duration maxDuration = const Duration(seconds: 15), Duration syncThreshold = const Duration(hours: 1), Duration initialDelay = const Duration(milliseconds: 500)})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
initialDelay Duration
Delay before starting cold start sync to allow UI to load
final
maxDuration Duration
Maximum duration allowed for cold start sync to prevent blocking UI
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
strategy ColdStartStrategy
The strategy to use for cold start synchronization
final
syncThreshold Duration
Time threshold after which cold start sync is triggered
final

Methods

copyWith({ColdStartStrategy? strategy, Duration? maxDuration, Duration? syncThreshold, Duration? initialDelay}) ColdStartConfig
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