toEntity method

Attachment toEntity()

Implementation

Attachment toEntity() {
  return Attachment(
    fileName: fileName,
    fileType: fileType,
    fileUrl: fileUrl,
    resourceType: resourceType,
  );
}