dart / 2 / dart-io / filemode / write-constant.html

write constant

FileMode const write

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 = const FileMode._internal(1);

© 2012 the Dart project authors
Licensed under the BSD 3-Clause "New" or "Revised" License.
https://api.dart.dev/stable/2.18.5/dart-io/FileMode/write-constant.html