markCompleted method

Future<void> markCompleted(
  1. String onboardingId
)

Mark a specific onboarding flow as completed.

Implementation

Future<void> markCompleted(String onboardingId) async {
  await init();
  await _prefs?.setBool('$_keyPrefix$onboardingId', true);
}