FileSystemOp class Null safety

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.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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.
FileSystemOp._(5)
create → const FileSystemOp
A file system operation used for all create methods.
FileSystemOp._(3)
delete → const FileSystemOp
A file system operation used for all delete methods.
FileSystemOp._(2)
exists → const FileSystemOp
A file system operation used for all exists methods.
FileSystemOp._(6)
open → const FileSystemOp
A file operation used for all open methods.
FileSystemOp._(4)
read → const FileSystemOp
A file system operation used for all read methods.
FileSystemOp._(0)
write → const FileSystemOp
A file system operation used for all write methods.
FileSystemOp._(1)