commit | b37581ff38e390614d77563146ce1498a9e3e823 | [log] [tgz] |
---|---|---|
author | Kevin Moore <kevmoo@users.noreply.github.com> | Thu Feb 15 05:25:15 2018 |
committer | GitHub <noreply@github.com> | Thu Feb 15 05:25:15 2018 |
tree | 8f45e3e56b4170cc1860e97b4ded6335b0e5bbcc | |
parent | af5a5bf65511943398146cf146e466e5f0b95cb9 [diff] |
Remove Dartium test runs from Travis
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.