ShipmentTrackingInfo.fromJson constructor

ShipmentTrackingInfo.fromJson(
  1. Map json_
)

Implementation

ShipmentTrackingInfo.fromJson(core.Map json_)
    : this(
        carrier: json_.containsKey('carrier')
            ? json_['carrier'] as core.String
            : null,
        trackingNumber: json_.containsKey('trackingNumber')
            ? json_['trackingNumber'] as core.String
            : null,
      );