DHUMapExt<K extends String, V> extension

DHUMapExt

on

Methods

deepMerge(Map<String, Object?> other) Map<String, Object?>

Available on Map<K, V>, provided by the DHUMapExt extension

Deep merges this map with other and returns a new map.
flatMap({String delimiter = '.', bool excludeArrays = false}) Map<String, Object?>

Available on Map<K, V>, provided by the DHUMapExt extension

Flattens a nested map into a single-level map.
getPath(String path, {String delimiter = '.', bool parseIndices = true}) Object?

Available on Map<K, V>, provided by the DHUMapExt extension

Reads a value from a nested map using path (e.g., "a.b.c").
setPath(String path, Object? value, {String delimiter = '.', bool parseIndices = true}) bool

Available on Map<K, V>, provided by the DHUMapExt extension

Writes a value into a nested map using path (e.g., "a.b.c").
unflatten({String delimiter = '.', bool parseIndices = true}) Map<String, Object?>

Available on Map<K, V>, provided by the DHUMapExt extension

Rebuilds a nested map from a flattened map.