ShippingDetails constructor
- @JsonSerializable(explicitToJson: true)
const
ShippingDetails(
{ - required Address address,
- String? name,
- String? carrier,
- String? phone,
- String? trackingNumber,
})
Implementation
@JsonSerializable(explicitToJson: true)
const factory ShippingDetails({
/// Recipient address.
required Address address,
/// Recipient name.
String? name,
/// Deliver service that will ship the product
String? carrier,
/// Recipient phone number.
String? phone,
/// Tracking number of the shipment. If multiple tracking numbers separate them
/// with commas.
String? trackingNumber,
}) = _ShippingDetails;