isValid method

  1. @override
bool isValid(
  1. dynamic value
)

Implementation

@override
bool isValid(dynamic value) {
  if (_condition()) {
    return _innerValdiator.isValid(value);
  }
  return true;
}