import 'package:copy_with_extension/copy_with_extension.dart';
import 'package:mnemo_cards_common/mnemo_cards_common.dart';

part 'test_question_state.g.dart';

@CopyWith()
class TestQuestionState {
  final TestQuestionType testType;

  bool get isCorrect => false;

  // isAnswered == not skipped by scrolling
  final bool isAnswered;
  final bool isSkipped;
  final String word;

  const TestQuestionState({
    required this.testType,
    required this.word,
    this.isAnswered = false,
    this.isSkipped = false,
  });
}
