createFile abstract method
void
createFile(})
Creates an empty file at path
.
If errorIfAlreadyExists
is set to true, and a file already exists at
path
, a FileSystemException is thrown.
Implementation
void createFile(
String path, {
bool errorIfNotExists = false,
bool errorIfAlreadyExists = false,
});