FileMode class
The modes in which aFile can be opened.
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(
Invocationinvocation)→ dynamic - Invoked when a nonexistent method or property is accessed.inherited
- toString(
)→String - A string representation of this object.inherited
Operators
- operator ==(
Objectother)→bool - The equality operator.inherited
Constants
- append→ constFileMode
- Mode for opening a file for reading and writing to theend of it. The file is created if it does not already exist.
- read→ constFileMode
- The mode for opening a file only for reading.
- write→ constFileMode
- Mode for opening a file for reading and writing. The file isoverwritten if it already exists. The file is created if it does notalready exist.
- writeOnly→ constFileMode
- Mode for opening a file for writingonly. The file isoverwritten if it already exists. The file is created if it does notalready exist.
- writeOnlyAppend→ constFileMode
- Mode for opening a file for writingonly to theend of it. The file is created if it does not already exist.