paintSingleCell method

void paintSingleCell(
  1. String color
)

Implementation

void paintSingleCell(String color) {
  final int colorParsed = containsColor(color.trim()).index;
  if (colorParsed == CatColors.NaC.index) {
    _error = CatError.invalidColor;

    return;
  }
  _commandCaller.color(
    "color",
    <int>[colorParsed],
  );
}