LocalFeedbackBackend class

A debug-only FeedbackBackend that saves feedback as JSON + PNG files to the given directory. Intended for emulator/simulator testing only.

Usage:

LocalFeedbackBackend(
  directory: Directory('/path/to/feedback'),
)
Implemented types

Constructors

LocalFeedbackBackend({required Directory directory})

Properties

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

Methods

dispose() → void
Releases resources held by this backend (e.g. an HTTP client).
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
submit(FeedbackEntry entry) Future<void>
Sends entry to the backend.
override
toString() String
A string representation of this object.
inherited

Operators

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