clear method

void clear()

Clears the text and the mounted composer's attachments/history cursor.

Implementation

void clear() {
  _clearGeneration++;
  editingController.clear();
  markDraftChanged();
}