isValid property Null safety

bool isValid

Whether this validation context passed all validations.

Implementation

bool get isValid => errors.isEmpty;