addPoint method
Adds a point to the points array.
Returns true if the point was added to the array. If the array
is full, the point is not added, and false is returned.
Implementation
bool addPoint(LightColorXy point) {
if (_points.length < 5) {
_points.add(point);
return true;
}
return false;
}