OnSubmit typedef

OnSubmit = Future<void> Function(String feedback, {Map<String, dynamic>? extras})

The function to be called when the user submits his feedback.

Implementation

typedef OnSubmit = Future<void> Function(
  String feedback, {
  Map<String, dynamic>? extras,
});