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