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