completeStep method

  1. @override
Future<void> completeStep(
  1. String? featureId
)
override

Informs the persistence layer that the user has completed the step identified by featureId, and that it should record it in the persistence layer.

Implementation

@override
Future<void> completeStep(String? featureId) async {
  final prefs = await SharedPreferences.getInstance();
  await prefs.setBool(_normalizeFeatureId(featureId), true);
}