write property

bool? get write

Sets the option for write access. This option, when true, means that the file should be write-able if opened. If the file already exists, any write calls on it will overwrite its contents, by default without truncating it.

@default {false}

Implementation

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

Implementation

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