shapePaintContainer property Null safety

ShapePaintContainer? shapePaintContainer
inherited

Implementation

ShapePaintContainer? get shapePaintContainer =>
    parent is ShapePaintContainer ? parent as ShapePaintContainer : null;