copyWith method

Implementation

AttachmentUpdate copyWith(
    {AttachmentUpdateVersion? version,
    String? id,
    AttachmentUpdateType? type,
    String? title,
    AttachmentUpdateMetadata? metadata,
    AttachmentUpdateContainer? container}) {
  return AttachmentUpdate(
    version: version ?? this.version,
    id: id ?? this.id,
    type: type ?? this.type,
    title: title ?? this.title,
    metadata: metadata ?? this.metadata,
    container: container ?? this.container,
  );
}