StdFeedbackDataSource class

Standard implementation of FeedbackDataSource.

Inheritance

Constructors

StdFeedbackDataSource(ApiService apiService, UserToken token)
Standard implementation of FeedbackDataSource.

Properties

apiService → ApiService
The api service 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
token → UserToken
The token to use for making requests.
final

Methods

deleteFeedback(Feedback feedback) → Future<void>
Deletes the given feedback.
override
fetchAllFeedbacks() → Future<List<Feedback>>
Returns a list of ALL feedbacks 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