FsrsState class

Snapshot of a card's FSRS memory state.

Constructors

FsrsState({required double stability, required double difficulty, required FsrsCardState cardState, double lastElapsedDays = 0, int scheduledDays = 0})
const

Properties

cardState FsrsCardState
final
difficulty double
final
hashCode int
The hash code for this object.
no setterinherited
lastElapsedDays double
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scheduledDays int
final
stability double
final

Methods

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

Constants

initial → const FsrsState
Default initial state for a brand-new card.