matchesCell method

bool matchesCell(
  1. int rowIndex,
  2. int columnIndex, {
  3. int? recordId,
  4. FdcColumnIdentity? runtimeColumnId,
})

Whether this reference matches the supplied row and runtime column.

Implementation

bool matchesCell(
  int rowIndex,
  int columnIndex, {
  int? recordId,
  FdcColumnIdentity? runtimeColumnId,
}) {
  if (hasCellIdentity && recordId != null && runtimeColumnId != null) {
    return this.recordId == recordId &&
        this.runtimeColumnId == runtimeColumnId;
  }
  return this.rowIndex == rowIndex && this.columnIndex == columnIndex;
}