Open flukejones opened 3 years ago
I fixed like this:
@override
Future<Set<String?>> completedSteps(Iterable<String?>? featuresIds) async {
final prefs = await SharedPreferences.getInstance();
if (featuresIds == null) {
return Set();
}
return featuresIds
.where((featureId) =>
prefs.getBool(_normalizeFeatureId(featureId)) == true)
.toSet();
}
Pretty simple to reproduce:
If the feature has never run before, then the following occurs: