V2TimTopicInfoResult.fromJson constructor

V2TimTopicInfoResult.fromJson(
  1. Map json
)

Implementation

V2TimTopicInfoResult.fromJson(Map json) {
  json = Utils.formatJson(json);
  errorCode = json['errorCode'];
  errorMessage = json['errorMessage'];
  if (json['topicInfo'] != null) {
    topicInfo = V2TimTopicInfo.fromJson(json['topicInfo']);
  }
}