toStringMap method

Map<String, int> toStringMap()

Implementation

Map<String, int> toStringMap() {
  return {for (var str in this) str: length};
}