0 purchases
edge io
Edge IO - Dart Edge #
This package (will eventually) contains a set of io adapters for use on Edge environments.
This package is currently in development and is not yet ready for use.
Usage #
Install the package:
dart pub add edge_io
copied to clipboard
Import the adapter you require, e.g. Memory:
import 'package:edge_io/memory.dart';
copied to clipboard
Override the io adapter:
import 'dart:io';
import 'package:edge_io/memory.dart';
void main() {
final overrides = MemoryFsOverrides();
IOOverrides.global = overrides;
// Use io as normal, e.g.:
final file = File('test.txt');
}
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.