PolygonShape constructor

PolygonShape({
  1. int numberOfSides = 5,
})

Implementation

PolygonShape({this.numberOfSides = 5}) : assert(numberOfSides >= 3);