getNameOfGroupParent method

Future<String> getNameOfGroupParent(
  1. String sdkId,
  2. String id
)

Implementation

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