FeedbackMetadataCollector class

Collects device and application metadata automatically.

Pass an instance to FeedbackWidget.metadataCollector to enrich every FeedbackEntry with OS, device model, and app info.

FeedbackWidget(
  backend: myBackend,
  appVersion: '1.0.0',
  metadataCollector: FeedbackMetadataCollector(),
)

Constructors

FeedbackMetadataCollector()
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

collect() Future<FeedbackMetadata>
Collects metadata from the current device and package.
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