FileSystemOp class

A file system operation used by the MemoryFileSytem to allow tests to insert errors for certain operations.

This is not implemented as an enum to allow new values to be added in a backwards compatible manner.

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.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

copy → const FileSystemOp
A file operation used for all copy methods.
create → const FileSystemOp
A file system operation used for all create methods.
delete → const FileSystemOp
A file system operation used for all delete methods.
exists → const FileSystemOp
A file system operation used for all exists methods.
open → const FileSystemOp
A file operation used for all open methods.
read → const FileSystemOp
A file system operation used for all read methods.
write → const FileSystemOp
A file system operation used for all write methods.