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