MapGetterExtension<K, V> extension
Extension for Map to get key values.
- on
-
- Map<
K, V>
- Map<
Methods
-
get(
K key, {V? defaultValue, bool ignoreCase = false}) → V? -
Available on Map<
Gets aK, V> , provided by the MapGetterExtension extensionkey
value. -
getAs<
T> (K key, {T? defaultValue, bool ignoreCase = false}) → T? -
Available on Map<
Gets aK, V> , provided by the MapGetterExtension extensionkey
value parsing toT
type. -
getAsBool(
K key, {bool? defaultValue, bool ignoreCase = false}) → bool? -
Available on Map<
Gets aK, V> , provided by the MapGetterExtension extensionkey
value parsing as bool. -
getAsDouble(
K key, {double? defaultValue, bool ignoreCase = false}) → double? -
Available on Map<
Gets aK, V> , provided by the MapGetterExtension extensionkey
value parsing as double. -
getAsInt(
K key, {int? defaultValue, bool ignoreCase = false}) → int? -
Available on Map<
Gets aK, V> , provided by the MapGetterExtension extensionkey
value parsing as int. -
getAsList<
E> (K key, {List< E> ? def, TypeElementParser<E> ? elementParser, List<E> ? defaultValue, bool ignoreCase = false}) → List<E> ? -
Available on Map<
Gets aK, V> , provided by the MapGetterExtension extensionkey
value parsing as List. -
getAsMap(
K key, {Map< K, V> ? def, TypeElementParser<K> ? keyParser, TypeElementParser<V> ? valueParser, Map<K, V> ? defaultValue, bool ignoreCase = false}) → Map<K, V> ? -
Available on Map<
Gets aK, V> , provided by the MapGetterExtension extensionkey
value parsing as Map. -
getAsNum(
K key, {num? defaultValue, bool ignoreCase = false}) → num? -
Available on Map<
Gets aK, V> , provided by the MapGetterExtension extensionkey
value parsing to num type. -
getAsSet<
E> (K key, {Set< E> ? def, TypeElementParser<E> ? elementParser, Set<E> ? defaultValue, bool ignoreCase = false}) → Set<E> ? -
Available on Map<
Gets aK, V> , provided by the MapGetterExtension extensionkey
value parsing as Set. -
getAsString(
K key, {String? defaultValue, bool ignoreCase = false}) → String? -
Available on Map<
Gets aK, V> , provided by the MapGetterExtension extensionkey
value parsing as String. -
getIgnoreCase(
K key, {V? defaultValue}) → V? -
Available on Map<
Gets aK, V> , provided by the MapGetterExtension extensionkey
value ignoring case. -
getMultiKeyAsBool(
List< K> keys, {bool? defaultValue, bool ignoreCase = false}) → bool? -
Available on Map<
Gets the value of the first matchingK, V> , provided by the MapGetterExtension extensionkeys
, parsing as bool. -
getMultiKeyAsDouble(
List< K> keys, {double? defaultValue, bool ignoreCase = false}) → double? -
Available on Map<
Gets the value of the first matchingK, V> , provided by the MapGetterExtension extensionkeys
, parsing as double. -
getMultiKeyAsInt(
List< K> keys, {int? defaultValue, bool ignoreCase = false}) → int? -
Available on Map<
Gets the value of the first matchingK, V> , provided by the MapGetterExtension extensionkeys
, parsing as int. -
getMultiKeyAsNum(
List< K> keys, {num? defaultValue, bool ignoreCase = false}) → num? -
Available on Map<
Gets the value of the first matchingK, V> , provided by the MapGetterExtension extensionkeys
, parsing as num. -
getMultiKeyAsString(
List< K> keys, {String? defaultValue, bool ignoreCase = false}) → String? -
Available on Map<
Gets the value of the first matchingK, V> , provided by the MapGetterExtension extensionkeys
, parsing as num. -
getMultiKeyParsed<
T> (List< K> keys, TypeElementParser<T> ? parser, {T? defaultValue, bool ignoreCase = false}) → T? -
Available on Map<
Same as getParsed but accepts multipleK, V> , provided by the MapGetterExtension extensionkeys
. -
getParsed<
T> (K key, TypeElementParser< T> ? parser, {T? defaultValue, bool ignoreCase = false}) → T? -
Available on Map<
Gets aK, V> , provided by the MapGetterExtension extensionkey
value parsing withparser
. -
matchKey(
K key) → K? -
Available on Map<
Returns the existing key that matchesK, V> , provided by the MapGetterExtension extensionkey
. -
matchKeyIgnoreCase(
K key) → K? -
Available on Map<
Returns the existing key that matchesK, V> , provided by the MapGetterExtension extensionkey
as case-insensitive.