isValid property

bool get isValid

Validation

Implementation

bool get isValid =>
    labels.length >= 2 && values.length >= 2 && labels.length == values.length;