truncate property
bool?
get
truncate
Sets the option for truncating a previous file. If a file is
successfully opened with this option set it will truncate the file to 0
size if it already exists. The file must be opened with write access
for truncate to work.
@default {false}
Implementation
_i2.bool? get truncate => _i3.getProperty(
this,
'truncate',
);
set
truncate
(bool? value)
Implementation
set truncate(_i2.bool? value) {
_i3.setProperty(
this,
'truncate',
value ?? _i6.undefined,
);
}