V2TimTopicInfoResult.fromJson constructor

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

Implementation

V2TimTopicInfoResult.fromJson(Map<String, dynamic> json) {
  errorCode = json['errorCode'];
  errorMessage = json['errorMessage'];
  if (json['topicInfo'] != null) {
    topicInfo = V2TimTopicInfo.fromJson(json['topicInfo']);
  }
}