deleteGroup method

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

Implementation

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