Insurance constructor

Insurance(
  1. dynamic id,
  2. dynamic createdAt,
  3. dynamic updatedAt,
  4. dynamic objectType,
  5. dynamic mode,
  6. String? status,
  7. double? amount,
  8. Address? fromAddress,
  9. List<String>? messages,
  10. InsuranceProvider? provider,
  11. String? providerId,
  12. String? reference,
  13. String? shipmentId,
  14. Address? toAddress,
  15. Tracker? tracker,
  16. String? trackingCode
)

Implementation

Insurance(
  id,
  createdAt,
  updatedAt,
  objectType,
  mode,
  this.status,
  this.amount,
  this.fromAddress,
  this.messages,
  this.provider,
  this.providerId,
  this.reference,
  this.shipmentId,
  this.toAddress,
  this.tracker,
  this.trackingCode,
) : super(id, createdAt, updatedAt, objectType, mode);