toMap method

Map<String, String> toMap()

Implementation

Map<String, String> toMap() {
  final map = <String, String>{};
  for (final entry in entries) {
    map[entry[0]] = entry[1];
  }
  return map;
}