Answer constructor

const Answer({
  1. required Key question,
  2. List<String>? choice,
  3. List<String>? ranking,
  4. Map<String, int>? scores,
  5. String? text,
  6. Object? abstain,
})

Implementation

const Answer({
  required this.question,
  this.choice,
  this.ranking,
  this.scores,
  this.text,
  this.abstain,
});