PersistenceProvider class abstract

Declares a contract to remember which Feature Discoveries were already viewed by the user, and to inquire about such past views.

Implementers

Constructors

PersistenceProvider()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

clearStep(String featureId) Future<void>
Requests that the persistence layer should remove the completion of the step identified by featureId.
clearSteps(Iterable<String> featuresIds) Future<void>
Requests that the historic steps identified by featuresIds be cleared from the persistence layer.
completedSteps(Iterable<String?>? featuresIds) Future<Set<String?>>
Returns the list of steps (as strings) that the user has previously completed from the provided featuresIds set.
completeStep(String? featureId) Future<void>
Informs the persistence layer that the user has completed the step identified by featureId, and that it should record it in the persistence layer.
hasCompletedStep(String featureId) Future<bool>
Returns true if the step identified by featureId has completed by the user earlier, false otherwise.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited