changeSuperGroup method
Implementation
Future<Group> changeSuperGroup(String sdkId, String childGroupId, String operationToken) async {
final res = await _methodChannel.invokeMethod<String>(
'GroupApi.changeSuperGroup',
{
"sdkId": sdkId,
"childGroupId": jsonEncode(childGroupId),
"operationToken": jsonEncode(operationToken),
}
);
if (res == null) throw AssertionError("received null result from platform method changeSuperGroup");
final parsedResJson = jsonDecode(res);
return Group.fromJSON(parsedResJson);
}