commit | 3f9bb135aa60cdb5ad4bf063d77f50ac07a5af7a | [log] [tgz] |
---|---|---|
author | Kevin Moore <kevmoo@google.com> | Tue Jul 10 12:51:19 2018 -0700 |
committer | Kevin Moore <kevmoo@google.com> | Tue Jul 10 12:51:19 2018 -0700 |
tree | 2e2977800ee8fbd885d1754fbbafb4ef32034dec | |
parent | 47530fce2a6613024fd619ce5f067f032f802bf7 [diff] |
Remove analysis_options.yaml No longer needed with Dart2
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.