isNode property

bool get isNode

Returns true if a node was hit.

Implementation

bool get isNode => hitType == HitTarget.node;