WriteStruct.fromJson constructor

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

Implementation

factory WriteStruct.fromJson(Map<String, dynamic> json) {
  return WriteStruct(
      question: json['question'],
      answer: json['answer'],
      help: WriteHelpStruct.fromJson(json['help']),
      meta: Meta.fromJson(json['meta']));
}