AmpDto constructor

AmpDto({
  1. required String id,
  2. String? rev,
  3. int? deletionDate,
  4. int? from,
  5. int? to,
  6. String? code,
  7. VmpStubDto? vmp,
  8. String? officialName,
  9. AmpDtoStatusEnum? status,
  10. SamTextDto? name,
  11. required bool blackTriangle,
  12. AmpDtoMedicineTypeEnum? medicineType,
  13. CompanyDto? company,
  14. SamTextDto? abbreviatedName,
  15. SamTextDto? proprietarySuffix,
  16. SamTextDto? prescriptionName,
  17. List<AmppDto> ampps = const [],
  18. List<AmpComponentDto> components = const [],
})

Returns a new AmpDto instance.

Implementation

AmpDto({
  required this.id,
  this.rev,
  this.deletionDate,
  this.from,
  this.to,
  this.code,
  this.vmp,
  this.officialName,
  this.status,
  this.name,
  required this.blackTriangle,
  this.medicineType,
  this.company,
  this.abbreviatedName,
  this.proprietarySuffix,
  this.prescriptionName,
  this.ampps = const [],
  this.components = const [],
});