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