parsePairs function
Parses a list of key-value strings and returns a list of the Pair representations. A key-value string looks like:
"someKey=someValue"
Implementation
Map<String, String> parsePairs(List<String> pairs) {
return pairs //
.map(parsePair)
.toList()
.toMap((pairObject) => pairObject);
}