FileSystemExtension extension

on

Methods

listDirectories(Uri uri) Future<UriList?>

Available on DTDConnection, provided by the FileSystemExtension extension

Lists the subdirectories and files under the directory at uri.
readFileAsString(Uri uri, {String encoding = 'utf8'}) Future<FileContent>

Available on DTDConnection, provided by the FileSystemExtension extension

Reads the file at uri from disk and returns the content as a String.
writeFileAsString(Uri uri, String contents, {Encoding encoding = utf8}) Future<bool>

Available on DTDConnection, provided by the FileSystemExtension extension

Writes contents to the file at uri.