GoogleMapsPlacesV1PlaceOpeningHoursPeriodPoint.fromJson constructor

GoogleMapsPlacesV1PlaceOpeningHoursPeriodPoint.fromJson(
  1. Map json_
)

Implementation

GoogleMapsPlacesV1PlaceOpeningHoursPeriodPoint.fromJson(core.Map json_)
    : this(
        date: json_.containsKey('date')
            ? GoogleTypeDate.fromJson(
                json_['date'] as core.Map<core.String, core.dynamic>)
            : null,
        day: json_.containsKey('day') ? json_['day'] as core.int : null,
        hour: json_.containsKey('hour') ? json_['hour'] as core.int : null,
        minute:
            json_.containsKey('minute') ? json_['minute'] as core.int : null,
        truncated: json_.containsKey('truncated')
            ? json_['truncated'] as core.bool
            : null,
      );