setTrackingProfile static method

Future<void> setTrackingProfile(
  1. 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);
}