Insurance constructor

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

Implementation

Insurance(
	this.id,
	this.address,
	{
		String? rev,
		int? deletionDate,
		Map<String, String>? name,
		bool? privateInsurance,
		bool? hospitalisationInsurance,
		bool? ambulatoryInsurance,
		String? code,
		String? agreementNumber,
		String? parent
	}) : rev = rev ?? null,
	deletionDate = deletionDate ?? null,
	name = name ?? {},
	privateInsurance = privateInsurance ?? false,
	hospitalisationInsurance = hospitalisationInsurance ?? false,
	ambulatoryInsurance = ambulatoryInsurance ?? false,
	code = code ?? null,
	agreementNumber = agreementNumber ?? null,
	parent = parent ?? null;