evaluate method

  1. @override
bool evaluate(
  1. JSON payload
)
override

Check if the payload satisfies the Constraint

Implementation

@override
bool evaluate(JSON payload) => !(value as List).contains(payload[key]);