CacheableItem<T> class

Annotations
  • @Deprecated('Please use [LoadedData] class instead' 'This feature was deprecated after 1.2.0')

Constructors

CacheableItem({bool loading = false, int? timestamp, bool errored = false, T? data})

Properties

data → T?
final
errored bool
final
hashCode int
The hash code for this object.
no setteroverride
loading bool
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timestamp int?
final

Methods

copyWith({bool? loading, int? timestamp, bool? errored, T? data}) CacheableItem<T>
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.
override