completedSteps method

  1. @override
Future<Set<String?>> completedSteps(
  1. Iterable<String?>? featuresIds
)
override

Returns the list of steps (as strings) that the user has previously completed from the provided featuresIds set.

Implementation

@override
Future<Set<String?>> completedSteps(Iterable<String?>? featuresIds) async =>
    featuresIds!.where((featureId) => _steps.contains(featureId)).toSet();