Answer constructor

const Answer({
  1. required String text,
  2. AnswerType? type,
  3. String? imgUrl,
  4. String? imgDesc,
  5. String? url,
  6. String? urlDesc,
  7. String? emotion,
})

Implementation

const Answer({
  required this.text,
  this.type,
  this.imgUrl,
  this.imgDesc,
  this.url,
  this.urlDesc,
  this.emotion,
});