showReportDialog static method

Future<void> showReportDialog([
  1. String? summary,
  2. String? description,
  3. BugseeSeverityLevel? severity,
  4. List<String>? labels,
])

Brings up the integration reporting UI (bug reporting dialog) where user should provide the details of the bug being reported.

Implementation

static Future<void> showReportDialog(
    [String? summary,
    String? description,
    BugseeSeverityLevel? severity,
    List<String>? labels]) async {
  await _channel?.invokeMethod('showReportDialog', <String, dynamic>{
    'summary': summary ?? '',
    'description': description ?? '',
    'severity': severity != null ? (severity.index + 1) : null,
    'labels': labels
  });
}