hasLabels property

bool get hasLabels

Returns true if labels is not null, otherwise false.

Implementation

bool get hasLabels => labels != null;