OrderLineItemProductFee.fromJson constructor

OrderLineItemProductFee.fromJson(
  1. Map json_
)

Implementation

OrderLineItemProductFee.fromJson(core.Map json_)
    : this(
        amount: json_.containsKey('amount')
            ? Price.fromJson(
                json_['amount'] as core.Map<core.String, core.dynamic>)
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
      );