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

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

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)
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)