AuditLogEntry class

Annotations
  • @JsonSerializable(includeIfNull: false)

Constructors

AuditLogEntry({String? targetId, List<AuditLogChange>? changes, String? userId, required String id, required AuditLogEvent actionType, OptionalAuditEntryInfo? options, String? reason})
Constructor
AuditLogEntry.fromJson(Map<String, dynamic> json)
From json
factory

Properties

actionType AuditLogEvent
type of action that occurred
final
changes List<AuditLogChange>?
changes made to the target_id
final
hashCode int
The hash code for this object.
no setterinherited
id String
id of the entry
final
options OptionalAuditEntryInfo?
additional info for certain action types
final
reason String?
the reason for the change (0-512 characters)
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
targetId String?
id of the affected entity (webhook, user, role, etc.)
final
userId String?
the user who made the changes
final

Methods

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

Operators

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