isValid property

bool get isValid

Indicates whether the validation result is valid.

Implementation

bool get isValid => errorMessages.isEmpty;