OnFeedbackCallback typedef

OnFeedbackCallback = FutureOr<void> Function(UserFeedback)

Function which gets called when the user submits his feedback. feedback is the user generated feedback. A string, by default. screenshot is a raw png encoded image. OnFeedbackCallback should cast feedback to the appropriate type.

Implementation

typedef OnFeedbackCallback = FutureOr<void> Function(UserFeedback);