map/map_deep_utils library
Functions
-
deepCopyList(
List source) → List -
Recursively deep-copies
source, cloning any nested maps and lists so the result shares no mutable structure with the original. Scalar values are copied by reference. -
deepCopyMap(
Map< String, dynamic> source) → Map<String, dynamic> - Deep copy for maps and lists.