MapExtensions extension
- on
Methods
-
hasValue(
dynamic key) → bool -
toList<
T> (dynamic key, T mapper(dynamic item), {List< T> ? fallback}) → List<T> ? -
Tries to parse a Map with the provided
key
into a list returnsfallback
if the key doesn't exist in the map OR the KVP is not of a list type -
tryCast<
T> (dynamic key, T mapper(dynamic item), {T? fallback}) → T?