FileHelper class
Constructors
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
-
createDirectory(
String directory) → void -
createFile(
String file, String content) → void -
deleteDirectory(
String directory) → void -
deleteFile(
String file) → void -
directoryExists(
String directory) → bool -
fileExists(
String file) → bool -
listFilesInDirectory(
String path) → Future< List< File> > -
listJsonFilesInDirectory(
String path) → Future< List< File> > -
readJson(
String path) → String -
updateFile(
String file, String content) → void