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