supportsIndexedDb static method

Future<bool> supportsIndexedDb({
  1. bool inWebWorker = false,
})

Attempts to check whether the current browser supports the DriftWebStorage.indexedDb storage implementation.

Implementation

static Future<bool> supportsIndexedDb({bool inWebWorker = false}) async {
  return await checkIndexedDbSupport();
}