rewriteActiveSurvey method
Need to rewrite the entire survey structure for property to be persisted.
Implementation
void rewriteActiveSurvey(bool actionTaken, int shownCount) {
assert(activeSurvey != null);
properties[activeSurvey!] = {
DevToolsStoreKeys.surveyActionTaken.name: actionTaken,
DevToolsStoreKeys.surveyShownCount.name: shownCount,
};
}