isInvalid property

bool get isInvalid

any field is invalid

Implementation

bool get isInvalid =>
    _validations.isNotEmpty &&
    _validations.values.any((element) => element.isInvalid);