reportProblem method

Future<void> reportProblem(
  1. UpdateProblemReport report
)

Invokes the app-owned problem-report callback when one was supplied.

Implementation

Future<void> reportProblem(UpdateProblemReport report) async {
  final callback = _onProblemReport;
  if (callback == null) {
    return;
  }
  await callback(report);
}