VendorDictionaryBase<V> class abstract base

Predefined functions of VendorDictionary that it only requires to implement entries.

Implemented types
Available extensions

Constructors

VendorDictionaryBase()
const

Properties

entries VendorDictionaryEntriesStream<V>
A collection of DictionaryEntry contains in this dictionary.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
isEmpty Future<bool>
Determine this dictionary contains nothing.
no setteroverride
isNotEmpty Future<bool>
Determine at least one elements stored in this dictionary.
no setteroverride
keys Stream<String>
Streaming all available keys from entries.
no setteroverride
length Future<int>
Length of DictionaryEntry stored in this dictionary.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
values Stream<V>
Streaming all values stores in entries, which can be duplicated.
no setteroverride

Methods

any(bool condition(String key, V value)) Future<bool>
Find at least one entries satisified condition.
override
cast<RV>() VendorDictionary<RV>
Cast value type V to RV, whatever the values is associate or not.
override
containsKey(String key) Future<bool>
Determine it has unique record of the key.
override
containsValue(V value) Future<bool>
Determine at least one value found in entries.
override
every(bool condition(String key, V value)) Future<bool>
Find every entries is satified condition.
override
forEach(void action(String key, V value)) Future<void>
Apply action to execute every entries.
override
map<RV>(DictionaryEntry<RV> convert(String key, V value)) VendorDictionary<RV>
convert each values to RV as well as modifying keys.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
where(bool condition(String key, V value)) VendorDictionary<V>
Filter entries with matched condition.
override
whereValueType<RV>() VendorDictionary<RV>
Filter entries if values type is RV.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited
operator [](String key) Future<V>
Obtains values associated with key.
override