createNew property

bool? get createNew

If set to true, no file, directory, or symlink is allowed to exist at the target location. Requires write or append access to be used. When createNew is set to true, create and truncate are ignored.

@default {false}

Implementation

_i2.bool? get createNew => _i3.getProperty(
      this,
      'createNew',
    );
set createNew (bool? value)

Implementation

set createNew(_i2.bool? value) {
  _i3.setProperty(
    this,
    'createNew',
    value ?? _i6.undefined,
  );
}