SftpFileOpenMode class

Properties

flag int
final
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.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited
operator |(SftpFileOpenMode other) → dynamic

Constants

append → const SftpFileOpenMode
Force all writes to append data at the end of the file.
create → const SftpFileOpenMode
If this flag is specified, then a new file will be created if one does not already exist (if truncate is specified, the new file will be truncated to zero length if it previously exists).
exclusive → const SftpFileOpenMode
Causes the request to fail if the named file already exists. create MUST also be specified if this flag is used.
read → const SftpFileOpenMode
Open the file for reading.
truncate → const SftpFileOpenMode
Forces an existing file with the same name to be truncated to zero length when creating a file by specifying create. create MUST also be specified if this flag is used.
write → const SftpFileOpenMode
Open the file for writing. If both this and read are specified, the file is opened for both reading and writing.