FileUtils class
Utility class for working with local files and directories.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
copyFile(
String sourcePath, String destinationPath) → Future< bool> -
copyFileToDownloads(
String sourcePath, String fileName) → Future< void> -
findLocalPath(
) → Future< String> - Returns the path to the external storage directory.
-
findSupportDirectory(
) → Future< String?> -
readFile(
String filePath) → Future< String> -
Reads the contents of the file at
filePath
as a string.