reset method
Forget the current user (e.g. on logout) and start a fresh session. Also clears the persisted identity, so subsequent launches start anonymous again.
Implementation
Future<void> reset() async {
_id.distinctId = null;
_id.traits.clear();
_id.rotateSession();
await IdentityStore.clear();
}