remove method

void remove(
  1. int index
)

Remove a row from the table.

Implementation

void remove(int index) {
  if (index > _data.length - 1) {
    throw Exception('Can\'t delete row at index $index');
  }
  _data.removeAt(index);
}