RemoteEntityState<T> class

Inheritance

Constructors

RemoteEntityState({bool loadingAll = false, Map<String, bool> loadingIds = const {}, bool creating = false, Map<String, DateTime> updateTimes = const {}, DateTime? lastFetchAllTime, Map<String, T> entities = const {}, List<String> ids = const [], dynamic error})
const
RemoteEntityState.fromJson(Map<String, dynamic> json, Deserializer<T> deserializer)
factory

Properties

creating bool
final
entities Map<String, T>
finalinherited
error → dynamic
final
hashCode int
The hash code for this object.
no setterinherited
ids List<String>
finalinherited
lastFetchAllTime DateTime?
final
loadingAll bool
final
loadingIds Map<String, bool>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
updateTimes Map<String, DateTime>
final

Methods

copyWith({Map<String, T>? entities, List<String>? ids, Map<String, DateTime>? updateTimes, DateTime? lastFetchAllTime, bool? loadingAll, Map<String, bool>? loadingIds, bool? creating, dynamic error}) RemoteEntityState<T>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
override
toString() String
A string representation of this object.
inherited

Operators

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