setUserAnonymisation method
Sets whether client-side user anonymisation is enabled.
This toggles the userAnonymisation flag at runtime, without having to
recreate the tracker. Changing it starts a new session but preserves the
tracker instance. Not supported on Web.
Implementation
Future<void> setUserAnonymisation(bool userAnonymisation) async {
await Snowplow.setUserAnonymisation(userAnonymisation, tracker: namespace);
}