FileSystemExtension extension
Methods
-
listDirectories(
Uri uri) → Future< UriList?> -
Lists the subdirectories and files under the directory at
uri
. -
readFileAsString(
Uri uri, {String encoding = 'utf8'}) → Future< FileContent> -
Reads the file at
uri
from disk and returns the content as a String. -
writeFileAsString(
Uri uri, String contents, {Encoding encoding = utf8}) → Future< bool> -
Writes
contents
to the file aturi
.