Shipment class final

The delivery or fulfillment configuration for a product.

Exposes type, delivery, download, and render, among other contract fields.

Constructors

Shipment({required ShipmentType type, Delivery? delivery, Download? download, Render? render, Service? service, Stream? stream})
const
Shipment.fromJson(Map<String, Object?> json)
factory

Properties

delivery → Delivery?
final
download → Download?
final
hashCode → int
The hash code for this object.
no setterinherited
render → Render?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
service → Service?
final
stream → Stream?
final
type → ShipmentType
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, Object?>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited