utils/value_utils library
Functions
-
cloneList(
List< Object?> value) → List<Object?> - Clone a list to make it writable.
-
cloneMap(
Map value) → Map< String, Object?> - Clone a map to make it writable.
-
cloneValue(
Value value) → Value - Clone a value to make it writable, typically a list or a map.
-
jsonEncodableSort(
Object value) → Object - Sort map or inner map elements alphabetically for a consistent json export.
-
valuesCompare(
Object? value1, Object? value2) → int - Compare two values.