ReportingObserver extension type

The ReportingObserver interface of the Reporting API allows you to collect and access reports.

on
Implemented types

Constructors

ReportingObserver(ReportingObserverCallback callback, [ReportingObserverOptions options])
factory

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

disconnect() → void
The disconnect() method of the ReportingObserver interface stops a reporting observer that had previously started observing from collecting reports.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
observe() → void
The observe() method of the ReportingObserver interface instructs a reporting observer to start collecting reports in its report queue.
takeRecords() ReportList
The takeRecords() method of the ReportingObserver interface returns the current list of reports contained in the observer's report queue, and empties the queue.
toString() String
A string representation of this object.
inherited

Operators

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