entityId property

GraphId? get entityId

The ID of the entity that was hit, if any.

Implementation

GraphId? get entityId => entity?.id;