export method
Request a signed URL for the export bundle.
Implementation
Future<AuditExportResult> export({
String format = 'json',
DateTime? since,
DateTime? until,
}) async {
final raw = (await _http.request(
'POST',
'/audit/export',
body: {
'format': format,
if (since != null) 'since': since.toIso8601String(),
if (until != null) 'until': until.toIso8601String(),
},
)) as Map<String, dynamic>;
return AuditExportResult.fromJson(raw);
}