copyWith method
FileOptions
copyWith({
- FileMode? mode,
- bool? create,
- bool? truncate,
- bool? exclusive,
- bool? direct,
- Durability? durability,
- PerformanceProfile? profile,
- int? readAhead,
Implementation
FileOptions copyWith({
FileMode? mode,
bool? create,
bool? truncate,
bool? exclusive,
bool? direct,
Durability? durability,
PerformanceProfile? profile,
int? readAhead,
}) => FileOptions(
mode: mode ?? this.mode,
create: create ?? this.create,
truncate: truncate ?? this.truncate,
exclusive: exclusive ?? this.exclusive,
direct: direct ?? this.direct,
durability: durability ?? this.durability,
profile: profile ?? this.profile,
readAhead: readAhead ?? this.readAhead,
);