import 'dart:math';

import 'package:freezed_annotation/freezed_annotation.dart';
import 'package:copy_with_extension/copy_with_extension.dart';
import 'package:mnemo_cards/features/tests/question_states/test_question_state.dart';
import 'package:mnemo_cards_common/mnemo_cards_common.dart';

part 'input_buttons_test_state.g.dart';

@JsonSerializable()
@CopyWith()
class InputButtonsTestState extends TestQuestionState {
  final List<String> answer;
  final List<String> answerIds;
  final bool isCorrect;
  final bool isAnswered;
  final bool isSkipped;
  final int seed;

  InputButtonsTestState({
    required this.seed,
    required super.word,
    this.answer = const [],
    this.answerIds = const [],
    this.isCorrect = false,
    this.isAnswered = false,
    this.isSkipped = false,
    super.testType = TestQuestionType.input_buttons,
  });
}
