SubstanceDto constructor

SubstanceDto({
  1. required String id,
  2. String? rev,
  3. int? deletionDate,
  4. String? code,
  5. String? chemicalForm,
  6. SamTextDto? name,
  7. SamTextDto? note,
  8. List<StandardSubstanceDto> standardSubstances = const [],
})

Returns a new SubstanceDto instance.

Implementation

SubstanceDto({
  required this.id,
  this.rev,
  this.deletionDate,
  this.code,
  this.chemicalForm,
  this.name,
  this.note,
  this.standardSubstances = const [],
});