GoogleMapsPlacesV1EVChargeOptionsConnectorAggregation.fromJson constructor

GoogleMapsPlacesV1EVChargeOptionsConnectorAggregation.fromJson(
  1. Map json_
)

Implementation

GoogleMapsPlacesV1EVChargeOptionsConnectorAggregation.fromJson(core.Map json_)
    : this(
        availabilityLastUpdateTime:
            json_.containsKey('availabilityLastUpdateTime')
                ? json_['availabilityLastUpdateTime'] as core.String
                : null,
        availableCount: json_.containsKey('availableCount')
            ? json_['availableCount'] as core.int
            : null,
        count: json_.containsKey('count') ? json_['count'] as core.int : null,
        maxChargeRateKw: json_.containsKey('maxChargeRateKw')
            ? (json_['maxChargeRateKw'] as core.num).toDouble()
            : null,
        outOfServiceCount: json_.containsKey('outOfServiceCount')
            ? json_['outOfServiceCount'] as core.int
            : null,
        type: json_.containsKey('type') ? json_['type'] as core.String : null,
      );