diagnose method

  1. @override
Future<LocationDiagnostics> diagnose({
  1. bool tryFix = true,
})
override

The setup doctor. In debug builds it also prints a checklist with the exact snippet for every problem. With tryFix, it tries a short fix (no UI) and a reverse geocode of it.

Implementation

@override
Future<LocationDiagnostics> diagnose({bool tryFix = true}) => _record(
  'diagnose',
  {'tryFix': tryFix},
  () => _impl.diagnose(tryFix: tryFix),
);