AlternativeForm.from constructor

AlternativeForm.from({
  1. required String word,
  2. required String numeral,
  3. required String gender,
  4. required String text,
  5. required String translationText,
  6. required String translation,
  7. required String exampleSentence,
  8. required String link,
  9. required String ttsUrl,
  10. required Discussion discussion,
  11. required bool isMatched,
  12. required bool isInvalid,
  13. required bool isHighlighted,
})

Returns the new instance of AlternativeForm based on arguments.

Implementation

AlternativeForm.from({
  required this.word,
  required this.numeral,
  required this.gender,
  required this.text,
  required this.translationText,
  required this.translation,
  required this.exampleSentence,
  required this.link,
  required this.ttsUrl,
  required this.discussion,
  required this.isMatched,
  required this.isInvalid,
  required this.isHighlighted,
});