IOOverridesMixin mixin
class MyIOOverrides with IOOverridesMixin implements IOOverrides {
// Must override
@override
IOOverrides get iOOverrides;
...
}
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
iOOverrides
→ IOOverrides
-
no setter
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
stderr
→ Stdout
-
The standard output stream of errors written by this program.
no setteroverride
-
stdin
→ Stdin
-
The standard input stream of data read by this program.
no setteroverride
-
stdout
→ Stdout
-
The standard output stream of data written by this program.
no setteroverride
Methods
-
createDirectory(String path)
→ Directory
-
Creates a new Directory object for the given
path
.
override
-
createFile(String path)
→ File
-
Creates a new File object for the given
path
.
override
-
createLink(String path)
→ Link
-
Returns a new Link object for the given
path
.
override
-
fseGetType(String path, bool followLinks)
→ Future<FileSystemEntityType>
-
Asynchronously returns the FileSystemEntityType for
path
.
override
-
fseGetTypeSync(String path, bool followLinks)
→ FileSystemEntityType
-
Returns the FileSystemEntityType for
path
.
override
-
fseIdentical(String path1, String path2)
→ Future<bool>
-
Asynchronously returns
true
if path1
and path2
are paths to the
same file system object.
override
-
fseIdenticalSync(String path1, String path2)
→ bool
-
Returns
true
if path1
and path2
are paths to the
same file system object.
override
-
fsWatch(String path, int events, bool recursive)
→ Stream<FileSystemEvent>
-
Returns a Stream of FileSystemEvents.
override
-
fsWatchIsSupported()
→ bool
-
Returns
true
when FileSystemEntity.watch is supported.
override
-
getCurrentDirectory()
→ Directory
-
Returns the current working directory.
override
-
getSystemTempDirectory()
→ Directory
-
Returns the system temporary directory.
override
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
serverSocketBind(dynamic address, int port, {int backlog = 0, bool v6Only = false, bool shared = false})
→ Future<ServerSocket>
-
Asynchronously returns a ServerSocket that connects to the given address
and port when successful.
override
-
setCurrentDirectory(String path)
→ void
-
Sets the current working directory to be
path
.
override
-
socketConnect(dynamic host, int port, {dynamic sourceAddress, int sourcePort = 0, Duration? timeout})
→ Future<Socket>
-
Asynchronously returns a Socket connected to the given host and port.
override
-
socketStartConnect(dynamic host, int port, {dynamic sourceAddress, int sourcePort = 0})
→ Future<ConnectionTask<Socket>>
-
Asynchronously returns a ConnectionTask that connects to the given host
and port when successful.
override
-
stat(String path)
→ Future<FileStat>
-
Asynchronously returns FileStat information for
path
.
override
-
statSync(String path)
→ FileStat
-
Returns FileStat information for
path
.
override
-
toString()
→ String
-
A string representation of this object.
inherited