EntityState class

Fetch / cache metadata for a single entity instance.

Constructors

EntityState({bool isFetching = false, DateTime? lastFetched, String? error, bool stale = false})
const

Properties

error → String?
final
hashCode → int
The hash code for this object.
no setterinherited
isFetching → bool
final
lastFetched → DateTime?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
stale → bool
final

Methods

copyWith({bool? isFetching, DateTime? lastFetched, String? error, bool? stale, bool clearError = false}) → EntityState
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