GoogleMapsPlacesV1SearchTextRequestEVOptions.fromJson constructor

GoogleMapsPlacesV1SearchTextRequestEVOptions.fromJson(
  1. Map json_
)

Implementation

GoogleMapsPlacesV1SearchTextRequestEVOptions.fromJson(core.Map json_)
    : this(
        connectorTypes: json_.containsKey('connectorTypes')
            ? (json_['connectorTypes'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        minimumChargingRateKw: json_.containsKey('minimumChargingRateKw')
            ? (json_['minimumChargingRateKw'] as core.num).toDouble()
            : null,
      );