createNew property

bool? get createNew

If set to true, no file, directory, or symlink is allowed to exist at the target location. When createNew is set to true, create is 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,
  );
}