ReturnShippingLabel.fromJson constructor

ReturnShippingLabel.fromJson(
  1. Map json_
)

Implementation

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