CachedDataMap<T> class Null safety

Implemented types
Available Extensions

Constructors

CachedDataMap({required ChannelType channelType, required String channelUrl, Map<String, T> data = const {}, int? timestamp})

Properties

dirty bool
read / writeoverride
hashCode int
The hash code for this object.
read-onlyinherited
key String
read-onlyoverride
policy EvictionPolicy
read / writeoverride
primaryKey String
read-onlyoverride
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

addMap(Map<String, T> dataMap, int? ts) → void
addWithKey(String key, T value, int ts) → void
copyWith(dynamic others) → void
override
evict() → void
override
getAll() Map<String, T>
getWithKey(String key) → T?
getWithKeys(List<String> keys) Map<String, T?>
merge(CachedDataMap<T> others) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
removeAll(int ts) → void
removeWithKey(String key, int? ts) → void
removeWithKeys(List<String> keys, int? ts) → void
toString() String
A string representation of this object.
inherited

Operators

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