setDirty method

void setDirty()

Sets the dirty state to true, indicating modifications have been made.

Implementation

void setDirty() {
  _setIsDirty(true);
}