RemoteEntityState<T> class
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
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