fromJson static method

V2TimTopicPermissionResult fromJson(
  1. Map json
)

Implementation

static V2TimTopicPermissionResult fromJson(Map json) {
  json = Utils.formatJson(json);
  return V2TimTopicPermissionResult(
    topicID: json['topicID'] ?? "",
    resultCode: json['resultCode'] ?? 0,
    resultMessage: json['resultMessage'] ?? "",
    topicPermission: json['topicPermission'] ?? 0,
    groupID: json['groupID'] ?? "",
    germissionGroupID: json['germissionGroupID'] ?? "",
  );
}