GoogleMapsPlacesV1FuelOptions.fromJson constructor

GoogleMapsPlacesV1FuelOptions.fromJson(
  1. Map json_
)

Implementation

GoogleMapsPlacesV1FuelOptions.fromJson(core.Map json_)
    : this(
        fuelPrices: json_.containsKey('fuelPrices')
            ? (json_['fuelPrices'] as core.List)
                .map((value) =>
                    GoogleMapsPlacesV1FuelOptionsFuelPrice.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );