AutoRequestManager class

Manager of automatic sending of request to the server

each new attempt will pass through a greater amount of time from _minReloadDurationSeconds to _maxReloadDurationSeconds exponentially increasing

Implemented types

Constructors

AutoRequestManager({int? minReloadDurationSeconds, int? maxReloadDurationSeconds})

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

autoReload({required String id, required Future<void> toReload(), AutoFutureCallback? onComplete}) Future<void>
register request for auto reload
override
dispose() Future<void>
dispose, when need kill manager
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