modules/utils/utils/transformations_utils
library
Functions
-
mapToPairedList(Map map)
→ List
-
Given a map this will transform ir into an array of sequential paired items
ie:
{"key1": "value1", "key2": "value2"} ->
"key1", "value1", "key2", "value2"
-
modifyPairedListAsMap(List list, Map transformer(Map))
→ List
-
This function let you modify an array of sequential paired items as a map and return it in the array form
Check pairedListToMap for more details
-
pairedListToMap(List list)
→ Map<String, dynamic>
-
Given an array of sequential paired items this will transform ir into a map
ie:
"key1", "value1", "key2", "value2"
-> {"key1": "value1", "key2": "value2"}