writeOnly constant Null safety

FileMode const writeOnly

Mode for opening a file for writing only. The file is overwritten if it already exists. The file is created if it does not already exist.

Implementation

static const writeOnly = const FileMode._internal(3);