DHUMapExt<K extends String, V> extension
DHUMapExt
- on
-
- Map<
K, V>
- Map<
Methods
-
deepMerge(
Map< String, Object?> other) → Map<String, Object?> -
Available on Map<
Deep merges this map withK, V> , provided by the DHUMapExt extensionotherand returns a new map. -
flatMap(
{String delimiter = '.', bool excludeArrays = false}) → Map< String, Object?> - Flattens a nested map into a single-level map.
-
getPath(
String path, {String delimiter = '.', bool parseIndices = true}) → Object? -
Available on Map<
Reads a value from a nested map usingK, V> , provided by the DHUMapExt extensionpath(e.g., "a.b.c"). -
setPath(
String path, Object? value, {String delimiter = '.', bool parseIndices = true}) → bool -
Available on Map<
Writes a value into a nested map usingK, V> , provided by the DHUMapExt extensionpath(e.g., "a.b.c"). -
unflatten(
{String delimiter = '.', bool parseIndices = true}) → Map< String, Object?> - Rebuilds a nested map from a flattened map.