onSubmit property

Future<ReportResult> Function(ReportDraft draft) onSubmit
final

Sends the report, usually with Limenia.report, and returns its result. If it throws, the form shows a failure with "Try again" and reports the error to FlutterError.reportError.

Implementation

final Future<ReportResult> Function(ReportDraft draft) onSubmit;