createCommunity method
Future<V2TimValueCallback<String> >
createCommunity({
- required V2TimGroupInfo info,
- required List<
V2TimCreateGroupMemberInfo> memberList,
override
Implementation
@override
Future<V2TimValueCallback<String>> createCommunity({
required V2TimGroupInfo info,
required List<V2TimCreateGroupMemberInfo> memberList,
}) async {
return V2TimValueCallback<String>.fromJson(
formatJson(
await _channel.invokeMethod(
"getTopicPermissionInPermissionGroup",
buildCommunityManagerParam(
{
"info": info.toJson(),
"memberList": memberList.map((e) => e.toJson()).toList(),
},
),
),
),
);
}