clearUnsavedChanges method Null safety

void clearUnsavedChanges()

Implementation

void clearUnsavedChanges() {
  _unsavedChanges.clear();
}