persistState method Null safety

void persistState()

Persist the state

Implementation

void persistState();