Insurance constructor
Insurance(- dynamic id,
- dynamic createdAt,
- dynamic updatedAt,
- dynamic objectType,
- dynamic mode,
- String? status,
- double? amount,
- Address? fromAddress,
- List<String>? messages,
- InsuranceProvider? provider,
- String? providerId,
- String? reference,
- String? shipmentId,
- Address? toAddress,
- Tracker? tracker,
- 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);