LearningCardState constructor Null safety

const LearningCardState(
  1. {String? master,
  2. Combination? combination,
  3. int? consecutiveCorrect,
  4. DateTime? lastReviewed,
  5. double? interval}
)

Implementation

const LearningCardState(
    {String? master,
    Combination? combination,
    this.consecutiveCorrect,
    DateTime? lastReviewed,
    double? interval})
    : super(master, combination, 'learning', lastReviewed, interval);