$PartnerCost.fromJson constructor

$PartnerCost.fromJson(
  1. Map json_
)

Implementation

$PartnerCost.fromJson(core.Map json_)
    : this(
        costType: json_.containsKey('costType')
            ? json_['costType'] as core.String
            : null,
        feeAmount: json_.containsKey('feeAmount')
            ? json_['feeAmount'] as core.String
            : null,
        feePercentageMillis: json_.containsKey('feePercentageMillis')
            ? json_['feePercentageMillis'] as core.String
            : null,
        feeType: json_.containsKey('feeType')
            ? json_['feeType'] as core.String
            : null,
        invoiceType: json_.containsKey('invoiceType')
            ? json_['invoiceType'] as core.String
            : null,
      );