getSensor method

bool getSensor()

Get if the shape is set to be a sensor or not.

Implementation

bool getSensor() => _shape.getSensor();