TierRate.fromJson constructor

TierRate.fromJson(
  1. Map json_
)

Implementation

TierRate.fromJson(core.Map json_)
    : this(
        startUsageAmount: json_.containsKey('startUsageAmount')
            ? (json_['startUsageAmount'] as core.num).toDouble()
            : null,
        unitPrice: json_.containsKey('unitPrice')
            ? Money.fromJson(
                json_['unitPrice'] as core.Map<core.String, core.dynamic>)
            : null,
      );