AuditModule class

Module for reading audit logs and statistics.

Constructors

AuditModule({required SpApi api})
Creates an AuditModule.
const

Properties

api → SpApi
The parent SpApi client.
final
hashCode → int
The hash code for this object.
no setterinherited
logs → TableGateway<Map<String, dynamic>>
Table gateway for the sp_audit_logs table.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

fieldTimeline(String entityType, dynamic entityId, String field, {int? limit}) → Future<List<Map<String, dynamic>>>
Retrieves timeline history for a specific entity field.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
stats({String? startDate, String? endDate, dynamic userId, String? entityType, String? event}) → Future<Map<String, dynamic>>
Retrieves aggregate audit statistics.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited