clear method

void clear()

clear document list

Implementation

void clear() {
  _documents.clear();
  _activeDocument = -1;
  if (onRefresh != null) {
    onRefresh!(documents);
  }
}