commit | de508cac1e8989572510bc173d1b268ffc12911f | [log] [tgz] |
---|---|---|
author | Todd Volkert <tvolkert@users.noreply.github.com> | Mon Feb 27 11:11:06 2017 -0800 |
committer | GitHub <noreply@github.com> | Mon Feb 27 11:11:06 2017 -0800 |
tree | d34851de39abcc6e8e5d8a7c13b07edd841242e2 | |
parent | d6795a92d517b173279bed8ac3082986453e4624 [diff] |
Remove 'implements Function' from MethodProxy (#45) The ability to implement the `Function` interface has been deprecated in the SDK. This change also adds dartdoc explaining the implications of our use of `noSuchMethod` in the record_replay library.
A generic file system abstraction for Dart.
Like dart:io
, package:file
supplies a rich Dart-idiomatic API for accessing a file system.
Unlike dart:io
, package:file
:
Implement your own custom file system:
import 'package:file/file.dart'; class FooBarFileSystem implements FileSystem { ... }
Use the in-memory file system:
import 'package:file/memory.dart'; var fs = new MemoryFileSystem();
Use the local file system (requires dart:io access):
import 'package:file/local.dart'; var fs = const LocalFileSystem();