1. override
void closePath()

Source

@override
void closePath() {
  _path.close();
}