createNew property

bool? 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',
    );
void createNew=(bool? value)

Implementation

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