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