NullableMapExtensions<K, V> extension
- on
-
- Map<
K, V> ?
- Map<
Properties
- isEmpty → bool
-
Available on Map<
Whether there is no key/value pair in the map.K, V> ?, provided by the NullableMapExtensions extensionno setter - isNotEmpty → bool
-
Available on Map<
Whether there is at least one key/value pair in the map.K, V> ?, provided by the NullableMapExtensions extensionno setter - length → int
-
Available on Map<
The number of key/value pairs in the map.K, V> ?, provided by the NullableMapExtensions extensionno setter
Methods
-
containsKey(
Object? key) → bool -
Available on Map<
Whether this map contains the givenK, V> ?, provided by the NullableMapExtensions extensionkey
. -
containsKeyAll(
Iterable< Object?> keys) → bool -
Available on Map<
ReturnsK, V> ?, provided by the NullableMapExtensions extensiontrue
if allkeys
are included in the keys of Map. -
containsKeyAny(
Iterable< Object?> keys) → bool -
Available on Map<
ReturnsK, V> ?, provided by the NullableMapExtensions extensiontrue
if any of the keys in Map contain any of the keys inkeys
. -
containsValue(
Object? value) → bool -
Available on Map<
Whether this map contains the givenK, V> ?, provided by the NullableMapExtensions extensionvalue
. -
containsValueAll(
Iterable< Object?> values) → bool -
Available on Map<
ReturnsK, V> ?, provided by the NullableMapExtensions extensiontrue
if the value of Map contains allvalues
. -
containsValueAny(
Iterable< Object?> values) → bool -
Available on Map<
ReturnsK, V> ?, provided by the NullableMapExtensions extensiontrue
if the value of Map contains one ofvalues
. -
equalsTo(
Map< K, V> ? others) → bool -
Available on Map<
ReturnsK, V> ?, provided by the NullableMapExtensions extensiontrue
if the internals of Map andothers
are compared and match. -
get<
T> (K key, T orElse) → T -
Available on Map<
Retrieves the elementK, V> ?, provided by the NullableMapExtensions extensionkey
from Map. -
getAsDateTime(
K key, [DateTime? orElse]) → DateTime -
Available on Map<
Retrieves the element ofK, V> ?, provided by the NullableMapExtensions extensionkey
of type Map from Map. -
getAsDouble(
K key, [double orElse = 0.0]) → double -
Available on Map<
Retrieves the element ofK, V> ?, provided by the NullableMapExtensions extensionkey
of type double from Map. -
getAsInt(
K key, [int orElse = 0]) → int -
Available on Map<
Retrieves the element ofK, V> ?, provided by the NullableMapExtensions extensionkey
of type int from Map. -
getAsList<
T> (K key, [List< T> ? orElse]) → List<T> -
Available on Map<
Retrieves the element ofK, V> ?, provided by the NullableMapExtensions extensionkey
of type List from Map. -
getAsMap<
T> (K key, [Map< String, T> ? orElse]) → Map<String, T> -
Available on Map<
Retrieves the element ofK, V> ?, provided by the NullableMapExtensions extensionkey
of type Map from Map. -
getAsSet<
T> (K key, [Set< T> ? orElse]) → Set<T> -
Available on Map<
Retrieves the element ofK, V> ?, provided by the NullableMapExtensions extensionkey
of type Set from Map.