matches method

  1. @override
bool matches(
  1. Map map
)
override

Implementation

@override
bool matches(Map<dynamic, dynamic> map) {
  var q = MapMatcher.traverse(map, field);
  if (!q.exists) return false;
  var fieldValue = q.value;
  return deepEquality.equals(fieldValue, value);
}