equalsValuesCollection static method

bool? equalsValuesCollection(
  1. Object value1,
  2. Object value2, {
  3. EntityHandler? entityHandler,
})

Implementation

static bool? equalsValuesCollection(Object value1, Object value2,
    {EntityHandler? entityHandler}) {
  var collection1 = TypeParser.isCollectionValue(value1);
  var collection2 = TypeParser.isCollectionValue(value2);

  if (collection1 && collection2) {
    return isEqualsDeep(value1, value2,
        valueEquality: (a, b) =>
            equalsValuesBasic(a, b, entityHandler: entityHandler));
  }

  return null;
}