io 0.1.0-git io: ^0.1.0-git copied to clipboard
A (mostly incomplete) attempt to provide platform agnostic declarations for abstract classes in the dart:io package
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add io
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
io: ^0.1.0-git
Alternatively, your editor might support dart pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:io/io.dart';