setTrackingProfile static method
- TrackingProfile profile
Applies a specific tracking profile.
Implementation
static Future<void> setTrackingProfile(TrackingProfile profile) async {
_profileManager ??= TrackingProfileManager(
applyConfig: LocusConfig.setConfig,
events: LocusStreams.events,
);
await _profileManager!.setProfile(profile);
}