toIntMap method

Map<String, int> toIntMap()

Implementation

Map<String, int> toIntMap() {
  return map((key, value) => MapEntry(key, int.tryParse(value) ?? 0));
}