deleteAccessLog method

Future<DocIdentifier> deleteAccessLog(
  1. String sdkId,
  2. AccessLog accessLog
)

Implementation

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