AuditLogEvent.parse constructor
- int value
Parse an AuditLogEvent from an int.
The value
must be a valid audit log event.
Implementation
factory AuditLogEvent.parse(int value) => AuditLogEvent.values.firstWhere(
(event) => event.value == value,
orElse: () => throw FormatException('Unknown audit log event', value),
);