addPath method Null safety

bool addPath(
  1. Path path
)

Implementation

bool addPath(Path path) {
  paintChanged();
  var added = paths.add(path);

  return added;
}