isValid method

  1. @override
bool isValid()
override

Implementation

@override
bool isValid() {
  if (!(model.required ?? false)) {
    return true;
  } else {
    return _scannedValue?.isNotEmpty ?? false;
  }
}