loadFile method

Future<FileLoaded> loadFile (
  1. String filename,
  2. String currentDirectory,
  3. Contexts options,
  4. Environment environment
)

Loads a file asynchronously. Expects a Future that either rejects with an error or fulfills with an object containing { filename: - full resolved path to file contents: - the contents of the file, as a string }

Implementation

Future<FileLoaded> loadFile(String filename, String currentDirectory,
        Contexts options, Environment environment) =>
    null;