fromJson static method
Implementation
static Choice fromJson(Map<String, dynamic> json) {
var choice = Choice();
choice.text = json['text'].toString();
choice.index = json['index'] as int;
choice.sourcePath = json['originalChoicePath'].toString();
choice.originalThreadIndex = json['originalThreadIndex'] as int;
choice.pathStringOnChoice = json['targetPath'].toString();
return choice;
}