commit | e8cf38de2eca0805a6c47e9be7f32cccbfdff4c4 | [log] [tgz] |
---|---|---|
author | Kevin Moore <kevmoo@users.noreply.github.com> | Wed Jul 31 21:05:18 2019 -0700 |
committer | GitHub <noreply@github.com> | Wed Jul 31 21:05:18 2019 -0700 |
tree | ed19b5b4727d8d7a1ef32134e9d02327a932ab06 | |
parent | 0a45a2d6a18d762ed79154b4393a7f8ec12b4e7a [diff] |
Delete codereview.settings
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.