fromJson static method

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

Implementation

static TCICGetClassInfoRepModel fromJson(Map<String, dynamic> json) {
  return TCICGetClassInfoRepModel(
    errorCode: json['error_code'] ?? 0,
    errorMsg: json['error_msg'] ?? '',
    requestId: json['request_id'] ?? '',
    classInfo: ClassInfo.fromJson(json['class_info'] ?? {}),
  );
}