Report class
Experimental: This is an experimental technologyCheck the Browser compatibility table carefully before using this in production. The interface of the Reporting API represents a single report. Reports can be accessed in a number of ways:
Via the ReportingObserver.takeRecords()
method — this returns
all reports in an observer's report queue, and then empties the
queue.
Via the reports
parameter of the callback function passed
into the ReportingObserver() constructor upon creation of a new
observer instance. This contains the list of reports currently
contained in the observer's report queue.
By sending requests to the endpoints defined via the
Report-To
HTTP header.
- Available extensions
- Annotations
-
- @experimental
- @JS()
- @staticInterop
Constructors
- Report()
-
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
-
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