diffCompare method

DiffComparison diffCompare(
  1. dynamic a,
  2. dynamic b
)

Implementation

DiffComparison diffCompare(a, b) {
  if (!areIdentical(a, b)) {
    return DiffComparison.notIdentical;
  } else if (areEqual(a, b)) {
    return DiffComparison.equal;
  } else {
    return DiffComparison.identicalNotEqual;
  }
}