AuditEvent class

Audit event

Constructors

AuditEvent({String? id, required AuditEventType type, String? stateKey, dynamic oldValue, dynamic newValue, String? userId, String? userEmail, DateTime? timestamp, Map<String, dynamic>? metadata, String? previousHash, String? hash})
AuditEvent.fromJson(Map<String, dynamic> json)
factory

Properties

hash String?
final
hashCode int
The hash code for this object.
no setterinherited
id String
final
metadata Map<String, dynamic>?
final
newValue → dynamic
final
oldValue → dynamic
final
previousHash String?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stateKey String?
final
timestamp DateTime
final
type AuditEventType
final
userEmail String?
final
userId String?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

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