reportProblem method
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);
}