LapsedCardState constructor Null safety

const LapsedCardState(
  1. {String? master,
  2. Combination? combination,
  3. int? consecutiveCorrect,
  4. double? factor,
  5. int? lapses,
  6. double? interval,
  7. DateTime? lastReviewed}
)

Implementation

const LapsedCardState(
    {String? master,
    Combination? combination,
    this.consecutiveCorrect,
    this.factor,
    this.lapses,
    double? interval,
    DateTime? lastReviewed})
    : super(master, combination, 'lapsed', lastReviewed, interval);