modifyGroupProperties method

Future<Group> modifyGroupProperties(
  1. String sdkId,
  2. String id,
  3. ListOfProperties properties
)

Implementation

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