removeWhereInRow method

void removeWhereInRow(
  1. int rowIndex,
  2. bool predicate(
    1. int colIndex,
    2. T value
    )
)

Remove items in row rowIndex that respect to a predicate

Implementation

void removeWhereInRow(int rowIndex, bool Function(int colIndex, T value) predicate) {
  final rowMap = _rows[rowIndex];
  if (rowMap == null) {
    return;
  }
  rowMap.removeWhere(predicate);
}