validate method

void validate()

Validate all inputs and return true if they all are valids.

Implementation

void validate() {
  for (final input in _inputs) {
    if (input.validator != null && !input.isPure) {
      input.validate();
    }
  }
}