commit | 2470e01dff62279a2c4f3920798b0b9032e93996 | [log] [tgz] |
---|---|---|
author | Todd Volkert <tvolkert@users.noreply.github.com> | Mon Jul 01 20:57:15 2019 -0700 |
committer | Nate Bosch <nbosch@google.com> | Mon Jul 01 20:57:15 2019 -0700 |
tree | 86e9858b296f5043c0957b2163ea7e093f5eba3c | |
parent | e8b86ceb30f1cf31ee2626cfcf19d01d52194733 [diff] |
Bump revision to 2.1.6 instead of 2.1.5+1 (#39)
Reading data from package contents and files.
A resource is data that can be read into a Dart program at runtime. A resource is identified by a URI. It can be loaded as bytes or data. The resource URI may be a package: URI.
Example:
import 'package:resource/resource.dart' show Resource; import 'dart:convert' show utf8; main() async { var resource = new Resource("package:foo/foo_data.txt"); var string = await resource.readAsString(encoding: utf8); print(string); }
Please check out the API docs.
Please file feature requests and bugs at the issue tracker.