shareWithMany method

Implementation

Future<DecryptedClassification> shareWithMany(String sdkId, DecryptedClassification classification, Map<String, ClassificationShareOptions> delegates) async {
	final res = await _methodChannel.invokeMethod<String>(
		'ClassificationApi.shareWithMany',
		{
			"sdkId": sdkId,
			"classification": jsonEncode(DecryptedClassification.encode(classification)),
			"delegates": jsonEncode(delegates.map((k0, v0) => MapEntry(k0, ClassificationShareOptions.encode(v0)))),
		}
	);
	if (res == null) throw AssertionError("received null result from platform method shareWithMany");
	final parsedResJson = jsonDecode(res);
	return DecryptedClassification.fromJSON(parsedResJson);
}