copyWith method

AttachmentUpdateMetadata copyWith({
  1. String? mediaType,
  2. String? comment,
})

Implementation

AttachmentUpdateMetadata copyWith({String? mediaType, String? comment}) {
  return AttachmentUpdateMetadata(
    mediaType: mediaType ?? this.mediaType,
    comment: comment ?? this.comment,
  );
}