isSameRevision method

bool isSameRevision(
  1. T? a,
  2. T? b
)

Whether a and b are the same revision.

Implementation

bool isSameRevision(T? a, T? b) {
  if (a == null || b == null) return identical(a, b);
  if (revisionOf == null) return identical(a, b);

  return revisionFor(a) == revisionFor(b);
}