Answer constructor

const Answer({
  1. required String result,
  2. required int index,
})

Implementation

const Answer({required this.result, required this.index});