EventValidationResult class

The outcome of validating one logEvent call — sanitizedParams is what's actually safe to forward to a real provider (empty when accepted is false: a rejected event is never partially sent).

Constructors

EventValidationResult({required bool accepted, required Map<String, Object?> sanitizedParams, required List<String> violations})
const

Properties

accepted → bool
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sanitizedParams → Map<String, Object?>
final
violations → List<String>
Human-readable reasons — populated for both accepted-with-redaction (a pii field silently dropped) and outright-rejected events, so an audit trail always has context, not just a bare pass/fail.
final

Methods

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

Operators

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