evaluate method
Check if the payload satisfies the Constraint
Implementation
@override
bool evaluate(JSON payload) {
try {
return payload[key] <= value;
// ignore: avoid_catches_without_on_clauses
} catch (e) {
return false;
}
}
Check if the payload satisfies the Constraint
@override
bool evaluate(JSON payload) {
try {
return payload[key] <= value;
// ignore: avoid_catches_without_on_clauses
} catch (e) {
return false;
}
}