process method
Process and validate data. Throws a generic DataRuleError if the data is not valid.
Implementation
@override
bool? process(bool? data) {
if (data != null && !data) {
throw _error;
}
return data;
}
Process and validate data. Throws a generic DataRuleError if the data is not valid.
@override
bool? process(bool? data) {
if (data != null && !data) {
throw _error;
}
return data;
}