isEmpty property

bool get isEmpty

Whether this hit contains no layer.

Implementation

bool get isEmpty => layer == null;