ChoiceHelpStruct.fromJson constructor

ChoiceHelpStruct.fromJson(
  1. Map<String, dynamic> json
)

Implementation

ChoiceHelpStruct.fromJson(Map<String, dynamic> json) {
  explain = json['explain'].toString();
  if (json['tran'] != null) {
    tran = TransStruct.fromJson(json['tran']);
  }
  titleAudioName = json['titleAudioName'];
}