type property

ShapeType type

Get the type of the child shape. You can use this to down cast to the concrete shape.

Implementation

ShapeType get type => shape.shapeType;