undeleteAccessLogById method

Future<DecryptedAccessLog> undeleteAccessLogById(
  1. String sdkId,
  2. String id,
  3. String rev
)

Implementation

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