resetMetaData method

void resetMetaData()

Resets all metadata to the initial state

Call this method when the user signs out to make sure no old metadata like WiredashMetaData.userId or WiredashMetaData.userEmail is still set. Same goes for custom metadata.

Implementation

void resetMetaData() {
  _model.customizableMetaData = CustomizableWiredashMetaData();
}