visitor property
Shape
get
visitor
The shape that entered or left the sensor of a sensor event.
Implementation
Shape get visitor {
assert(isSensorEvent, 'Only sensor events have a visitor shape');
return shapeB;
}