initDefaultBackend function

Future<StorageBackend> initDefaultBackend({
  1. required String name,
  2. StorageRoots? roots,
})

Fallback stub — throws on platforms with neither dart:io nor dart:js_interop.

Implementation

Future<StorageBackend> initDefaultBackend({
  required String name,
  StorageRoots? roots,
}) {
  throw UnsupportedError('Platform not supported');
}