PricingInfo.fromJson constructor

PricingInfo.fromJson(
  1. Map json_
)

Implementation

PricingInfo.fromJson(core.Map json_)
    : this(
        aggregationInfo: json_.containsKey('aggregationInfo')
            ? AggregationInfo.fromJson(json_['aggregationInfo']
                as core.Map<core.String, core.dynamic>)
            : null,
        currencyConversionRate: json_.containsKey('currencyConversionRate')
            ? (json_['currencyConversionRate'] as core.num).toDouble()
            : null,
        effectiveTime: json_.containsKey('effectiveTime')
            ? json_['effectiveTime'] as core.String
            : null,
        pricingExpression: json_.containsKey('pricingExpression')
            ? PricingExpression.fromJson(json_['pricingExpression']
                as core.Map<core.String, core.dynamic>)
            : null,
        summary: json_.containsKey('summary')
            ? json_['summary'] as core.String
            : null,
      );