read method

Future<Stream<List<int>>> read (
  1. String root,
  2. String path
)

Implementation

Future<Stream<List<int>>> read(String root, String path) {
  if (pubServeUrl != null) {
    return readFromPub(path);
  } else {
    return readFromFile(root, path);
  }
}