evaluate method
Check if the payload satisfies the Constraint
Implementation
@override
bool evaluate(JSON payload) => payload[key] is bool && payload[key];
Check if the payload satisfies the Constraint
@override
bool evaluate(JSON payload) => payload[key] is bool && payload[key];