copyWith method

FileStorageMountSpec copyWith({
  1. String? path,
  2. String? subpath,
  3. bool? readOnly,
})

Implementation

FileStorageMountSpec copyWith({String? path, String? subpath, bool? readOnly}) {
  return FileStorageMountSpec(path: path ?? this.path, subpath: subpath ?? this.subpath, readOnly: readOnly ?? this.readOnly, text: text);
}