removeAt method

void removeAt(
  1. int index
)

Implementation

void removeAt(int index) {
  if (index < 0 || index >= _files.length) {
    return;
  }
  _fileMap.remove(_files[index].name);
  _files.removeAt(index);
}