mnemo_cards/lib/features/tests/question_states/test_question_state.dart
2024-06-11 03:28:57 +03:00

23 lines
527 B
Dart

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,
});
}