copyWithWrapped method
Implementation
LongreadMaterialAttachmentItem copyWithWrapped({
Wrapped<String>? name,
Wrapped<String>? filename,
Wrapped<enums.FileMediaType>? mediaType,
Wrapped<int>? length,
Wrapped<String?>? version,
}) {
return LongreadMaterialAttachmentItem(
name: (name != null ? name.value : this.name),
filename: (filename != null ? filename.value : this.filename),
mediaType: (mediaType != null ? mediaType.value : this.mediaType),
length: (length != null ? length.value : this.length),
version: (version != null ? version.value : this.version),
);
}