shareWithMany method

Implementation

Future<EncryptedClassification> shareWithMany(String sdkId, EncryptedClassification classification, Map<String, ClassificationShareOptions> delegates) async {
	final res = await _methodChannel.invokeMethod<String>(
		'ClassificationApi.encrypted.shareWithMany',
		{
			"sdkId": sdkId,
			"classification": jsonEncode(EncryptedClassification.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 EncryptedClassification.fromJSON(parsedResJson);
}