CompositeReporter class
Fans out delivery to multiple reporters.
A send/share is considered successful if any reporter succeeds. Failures from individual reporters are swallowed to keep the pipeline resilient.
Constructors
-
CompositeReporter(List<
Reporter> reporters) -
Creates a composite reporter that delegates to the provided
reporters.const
Properties
Methods
-
defaultFileName(
ReportEvent event) → String -
Builds a stable, human-readable file name for a report event.
inherited
-
generateFile(
ReportEvent event, {String? fileName, Directory? directory}) → Future< File> -
Generates a JSON file representation of the
eventfor sharing or local persistence.inherited -
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.
override
-
User-initiated sharing of a ReportEvent (e.g., via share sheet).
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited