isPort property

bool get isPort

Returns true if a port was hit.

Implementation

bool get isPort => hitType == HitTarget.port;