getAllowFileAccess method

Future<bool> getAllowFileAccess()

Gets whether Service Workers support file access. This method should only be called if WebViewFeature.isFeatureSupported returns true for WebViewFeature.SERVICE_WORKER_FILE_ACCESS.

NOTE: available on Android 24+.

Official Android API: https://developer.android.com/reference/androidx/webkit/ServiceWorkerWebSettingsCompat#getAllowFileAccess()

Implementation

Future<bool> getAllowFileAccess() {
  throw UnimplementedError(
      'getAllowFileAccess is not implemented on the current platform');
}