Reporter class abstract

Base contract for delivering ReportEvents to one or more destinations.

Implementations should be resilient and never throw; return false on delivery failure so the pipeline can fallback (e.g., queue to outbox).

Implementers

Constructors

Reporter()
Const constructor to support lightweight subclasses.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

defaultFileName(ReportEvent event) String
Builds a stable, human-readable file name for a report event.
generateFile(ReportEvent event, {String? fileName, Directory? directory}) Future<File>
Generates a JSON file representation of the event for sharing or local persistence.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
send(ReportEvent event) Future<bool>
Sends a ReportEvent to the remote/system of choice.
share(ReportEvent event) Future<bool>
User-initiated sharing of a ReportEvent (e.g., via share sheet).
toString() String
A string representation of this object.
inherited

Operators

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