Polygon constructor Null safety

Polygon(
  1. {List<Point32>? points}
)

Implementation

Polygon({
  List<Point32>? points,
}):
this.points = points ?? [];