StdFeedbackRepository class

Standard implementation of FeedbackRepository.

Inheritance

Constructors

StdFeedbackRepository(FeedbackDataSource feedbackDataSource, List<UserCapability> capabilities)
Standard implementation of FeedbackRepository.

Properties

capabilities → List<UserCapability>
The capabilities of the current user.
final
feedbackDataSource → FeedbackDataSource
The data source to use for making requests.
final
hashCode → int
The hash code for this object.
read-onlyinherited
runtimeType → Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

deleteFeedback(Feedback feedback) → Future<void>
Deletes the given feedback.
override
getFeedbacks() → Future<List<Feedback>>
Returns a list of every feedback submitted.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
submitFeedback(String message, FeedbackType type, String? logFilePath) → Future<void>
Submits feedback with the given message and type.
override
toString() → String
A string representation of this object.
inherited
updateFeedback(Feedback feedback) → Future<void>
Updates the given feedback (server-side).
override

Operators

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