Insurance class
- Annotations
-
- @JsonSerializable(explicitToJson: true)
Constructors
-
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) -
Insurance.fromJson(Map<
String, dynamic> input) -
factory
Properties
- amount → double?
-
final
- createdAt → DateTime?
-
finalinherited
- fromAddress → Address?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
finalinherited
-
messages
→ List<
String> ? -
final
- mode → String?
-
finalinherited
- objectType → String?
-
finalinherited
- prefix → String?
-
no setterinherited
- provider → InsuranceProvider?
-
final
- providerId → String?
-
final
- reference → String?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shipmentId → String?
-
final
- status → String?
-
final
- toAddress → Address?
-
final
- tracker → Tracker?
-
final
- trackingCode → String?
-
final
- updatedAt → DateTime?
-
finalinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited