fromJson static method
Implementation
static TCICGetClassTasksRepModel fromJson(Map<String, dynamic> json) {
TCICLog.info('TCICGetClassTasksRepModel fromJson need override: $json',actionModule: ActionModule.httpResponse.name,actionName: ActionName.getClassTasks.name);
return TCICGetClassTasksRepModel(
errorCode: json['error_code'] ?? 0,
errorMsg: json['error_msg'] ?? '',
requestId: json['request_id'] ?? '',
lastSeq: json['last_seq'] ?? 0,
tasks: json['tasks'] != null ? (json['tasks'] as List).map((e) => TaskInfo.fromJson(e)).toList() : [],
);
}