MapX<K, V> extension
Methods
-
elementAt<TAggregate>(String path, {TAggregate? defaultValue})
→ TAggregate?
-
Get element with given reference on format '/name1/name2/name3'
equivalent to map
'name2'
'name3'
.
-
hasPath(String ref)
→ bool
-
Check if map contains data at given path
-
listAt<TAggregate>(String path, {List<TAggregate>? defaultList})
→ List<TAggregate>?
-
Get List of type
TAggregate
at given path
-
mapAt<TState, TAggregate>(String path, {Map<TState, TAggregate>? defaultMap})
→ Map<TState, TAggregate>?
-
Get Map with keys of type
TState
and values of type TAggregate
at given path