removeAt method

void removeAt(
  1. int index
)

Removes the point at the given index.

Implementation

void removeAt(int index) {
  _path.removeAt(index);
  assert(_path.isNotEmpty);
  _closed = null;
  _boundingBox = null;
}