Shipment.fromJson constructor

Shipment.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory Shipment.fromJson(Map<String, dynamic> json) {
  return Shipment(
    status: json['Status'] as String?,
    trackingNumber: json['TrackingNumber'] as String?,
  );
}