addColor method

void addColor (
  1. Color color
)

Adds a color to the colors array of the DataSet.

@param color

Implementation

void addColor(ui.Color color) {
  if (_colors == null) _colors = List();
  _colors.add(color);
}