OfflineFirst class

Constructors

OfflineFirst()

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

fetchData({required String urlPath, Map<String, String>? headers, Duration? timeOut, OfflineFirstFetchPolicy fetchPolicy = OfflineFirstFetchPolicy.cacheThenNetwork, bool debugMode = false}) Future<FetchFirstResponse>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
saveData({required String key, required String content}) Future<void>
toString() String
A string representation of this object.
inherited
watchData({required String urlPath, Map<String, String>? headers, Duration? timeOut, OfflineFirstFetchPolicy fetchPolicy = OfflineFirstFetchPolicy.cacheThenNetwork, bool debugMode = false}) Stream<FetchFirstResponse>

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

init() Future<void>