shareWith method
Implementation
Future<AccessLog> shareWith(String sdkId, String delegateId, AccessLog accessLog, AccessLogShareOptions? options) async {
final res = await _methodChannel.invokeMethod<String>(
'AccessLogApi.tryAndRecover.shareWith',
{
"sdkId": sdkId,
"delegateId": jsonEncode(delegateId),
"accessLog": jsonEncode(AccessLog.encode(accessLog)),
"options": jsonEncode(options == null ? null : AccessLogShareOptions.encode(options!)),
}
);
if (res == null) throw AssertionError("received null result from platform method shareWith");
final parsedResJson = jsonDecode(res);
return AccessLog.fromJSON(parsedResJson);
}