copyWith method

Attachments copyWith({
  1. String? id,
  2. String? fileType,
  3. String? fileName,
  4. String? createdAt,
})

Implementation

Attachments copyWith({  String? id,
  String? fileType,
  String? fileName,
  String? createdAt,
}) => Attachments(  id: id ?? _id,
  fileType: fileType ?? _fileType,
  fileName: fileName ?? _fileName,
  createdAt: createdAt ?? _createdAt,
);