write constant
FileMode
const write
The mode for opening a file for reading and writing. The file is overwritten if it already exists. The file is created if it does not already exist.
Implementation
static const write = FileMode._internal(1);