PricingSchedulePricingPeriod.fromJson constructor

PricingSchedulePricingPeriod.fromJson(
  1. Map json_
)

Implementation

PricingSchedulePricingPeriod.fromJson(core.Map json_)
    : this(
        endDate: json_.containsKey('endDate')
            ? core.DateTime.parse(json_['endDate'] as core.String)
            : null,
        pricingComment: json_.containsKey('pricingComment')
            ? json_['pricingComment'] as core.String
            : null,
        rateOrCostNanos: json_.containsKey('rateOrCostNanos')
            ? json_['rateOrCostNanos'] as core.String
            : null,
        startDate: json_.containsKey('startDate')
            ? core.DateTime.parse(json_['startDate'] as core.String)
            : null,
        units:
            json_.containsKey('units') ? json_['units'] as core.String : null,
      );