initDataSourceAnalyzerLib function

Future<void> initDataSourceAnalyzerLib()

Implementation

Future<void> initDataSourceAnalyzerLib() async {
  if (!kIsWeb) {
    await localhostServer?.start();
  }

  if (!kIsWeb && defaultTargetPlatform == TargetPlatform.android) {
    await InAppWebViewController.setWebContentsDebuggingEnabled(true);
  }
}