copyWith method
Create a copy with updated values
Implementation
DiskConfig copyWith({
String? driver,
String? root,
String? url,
String? visibility,
bool? throw_,
bool? report,
String? directorySeparator,
String? prefix,
bool? readOnly,
Map<String, dynamic>? options,
}) {
return DiskConfig(
driver: driver ?? this.driver,
root: root ?? this.root,
url: url ?? this.url,
visibility: visibility ?? this.visibility,
throw_: throw_ ?? this.throw_,
report: report ?? this.report,
directorySeparator: directorySeparator ?? this.directorySeparator,
prefix: prefix ?? this.prefix,
readOnly: readOnly ?? this.readOnly,
options: options ?? this.options,
);
}