vertices property

List<Vector2> get vertices

Returns itself as a fixed list of Vector2 objects.

Implementation

List<Vector2> get vertices =>
    map((o) => o.toVector2()).toList(growable: false);