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