universal_io 0.0.1 universal_io: ^0.0.1 copied to clipboard
Supports a subset of 'dart:io' in all platforms (browser, VM, and Flutter).
Overview #
- A Dart package that supports a subset of 'dart:io' in all platforms (browser, VM, and Flutter).
- Currently, the package supports:
FileSystemEntity
and related classes- In browser, access to all directories and files is denied.
- You can override behavior inside a zone.
HTTPClient
- In browser, a notable difference to VM/Flutter is that a connection to the server is
established only after the
HttpClientRequest.close()
has been invoked.
- In browser, a notable difference to VM/Flutter is that a connection to the server is
established only after the
Platform
- You can override behavior inside a zone.
License #
Licensed under the MIT License. Some of the source code was adopted from the original 'dart:io' in Dart SDK.