fromJson static method

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

Implementation

static V2TimTopicPermissionResult fromJson(Map<String, dynamic> json) {
  return V2TimTopicPermissionResult(
    topicID: json['topicID'] ?? "",
    resultCode: json['resultCode'] ?? 0,
    resultMessage: json['resultMessage'] ?? "",
    topicPermission: json['topicPermission'] ?? 0,
    groupID: json['groupID'] ?? "",
    germissionGroupID: json['germissionGroupID'] ?? "",
  );
}