InsuranceDto constructor

InsuranceDto({
  1. required String id,
  2. String? rev,
  3. int? deletionDate,
  4. Map<String, String> name = const {},
  5. required bool privateInsurance,
  6. required bool hospitalisationInsurance,
  7. required bool ambulatoryInsurance,
  8. String? code,
  9. String? agreementNumber,
  10. String? parent,
  11. required AddressDto address,
})

Returns a new InsuranceDto instance.

Implementation

InsuranceDto({
  required this.id,
  this.rev,
  this.deletionDate,
  this.name = const {},
  required this.privateInsurance,
  required this.hospitalisationInsurance,
  required this.ambulatoryInsurance,
  this.code,
  this.agreementNumber,
  this.parent,
  required this.address,
});