matchesEntity method

  1. @override
bool matchesEntity(
  1. O o, {
  2. EntityHandler<O>? entityHandler,
  3. Object? parameters,
  4. List? positionalParameters,
  5. Map<String, Object?>? namedParameters,
})
override

Implementation

@override
bool matchesEntity(O o,
    {EntityHandler<O>? entityHandler,
    Object? parameters,
    List? positionalParameters,
    Map<String, Object?>? namedParameters}) {
  var keyValue = getEntityKeyValue(o, entityHandler);

  var inValues = inConditionValues(keyValue, value,
      parameters: parameters,
      positionalParameters: positionalParameters,
      namedParameters: namedParameters);

  return inValues != not;
}