GoogleMapsPlacesV1EVChargeOptions.fromJson constructor

GoogleMapsPlacesV1EVChargeOptions.fromJson(
  1. Map json_
)

Implementation

GoogleMapsPlacesV1EVChargeOptions.fromJson(core.Map json_)
    : this(
        connectorAggregation: json_.containsKey('connectorAggregation')
            ? (json_['connectorAggregation'] as core.List)
                .map((value) =>
                    GoogleMapsPlacesV1EVChargeOptionsConnectorAggregation
                        .fromJson(
                            value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        connectorCount: json_.containsKey('connectorCount')
            ? json_['connectorCount'] as core.int
            : null,
      );