matches method

bool matches(
  1. FdcGridCellRef other
)

Whether this reference matches the supplied row and column indexes.

Implementation

bool matches(FdcGridCellRef other) {
  if (hasCellIdentity && other.hasCellIdentity) {
    return recordId == other.recordId &&
        runtimeColumnId == other.runtimeColumnId;
  }
  return rowIndex == other.rowIndex && columnIndex == other.columnIndex;
}