setColorByTexToColorMap method

void setColorByTexToColorMap(
  1. Map<String, Color> texsToColorMap, {
  2. bool substring = true,
  3. bool caseSensitive = true,
})

Implementation

void setColorByTexToColorMap(Map<String, Color> texsToColorMap,
    {bool substring = true, bool caseSensitive = true}) {
  for (var entry in texsToColorMap.entries) {
    setColorByTex(entry.key, entry.value,
        substring: substring, caseSensitive: caseSensitive);
  }
}