hardDeleteGroup method

Future<List<GroupDeletionReport>> hardDeleteGroup(
  1. String sdkId,
  2. String id
)

Implementation

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