GoogleMapsPlacesV1PlaceOpeningHoursPeriod.fromJson constructor

GoogleMapsPlacesV1PlaceOpeningHoursPeriod.fromJson(
  1. Map json_
)

Implementation

GoogleMapsPlacesV1PlaceOpeningHoursPeriod.fromJson(core.Map json_)
    : this(
        close: json_.containsKey('close')
            ? GoogleMapsPlacesV1PlaceOpeningHoursPeriodPoint.fromJson(
                json_['close'] as core.Map<core.String, core.dynamic>)
            : null,
        open: json_.containsKey('open')
            ? GoogleMapsPlacesV1PlaceOpeningHoursPeriodPoint.fromJson(
                json_['open'] as core.Map<core.String, core.dynamic>)
            : null,
      );