copyWith method

AttachmentPropertiesUpdateBody copyWith({
  1. String? id,
  2. String? type,
  3. String? status,
  4. String? title,
  5. Container? container,
  6. AttachmentPropertiesUpdateBodyMetadata? metadata,
  7. Map<String, dynamic>? extensions,
  8. Version? version,
})

Implementation

AttachmentPropertiesUpdateBody copyWith(
    {String? id,
    String? type,
    String? status,
    String? title,
    Container? container,
    AttachmentPropertiesUpdateBodyMetadata? metadata,
    Map<String, dynamic>? extensions,
    Version? version}) {
  return AttachmentPropertiesUpdateBody(
    id: id ?? this.id,
    type: type ?? this.type,
    status: status ?? this.status,
    title: title ?? this.title,
    container: container ?? this.container,
    metadata: metadata ?? this.metadata,
    extensions: extensions ?? this.extensions,
    version: version ?? this.version,
  );
}