fromJson static method

Answer fromJson(
  1. dynamic json
)

Implementation

static Answer fromJson(dynamic json) {
  // debugPrint('aid:' + json['aid']);
  // debugPrint('question:' + json['question']);
  return Answer(
      aid: json['aid'], question: json['question'], answer: json['answer']);
}