hasCompletedStep method
Returns true if the step identified by featureId
has completed by the user earlier,
false otherwise.
Implementation
@override
Future<bool> hasCompletedStep(String featureId) async {
final prefs = await SharedPreferences.getInstance();
final hasCompleted = await prefs.getBool(_normalizeFeatureId(featureId));
return hasCompleted == true;
}