modifyGroupName method

Future<Group> modifyGroupName(
  1. String sdkId,
  2. String id,
  3. String name
)

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);
}