WeeklySchedule.fromJson constructor

WeeklySchedule.fromJson(
  1. Map json_
)

Implementation

WeeklySchedule.fromJson(core.Map json_)
  : this(
      daysOfWeek: (json_['daysOfWeek'] as core.List?)
          ?.map((value) => value as core.String)
          .toList(),
      startTimes: (json_['startTimes'] as core.List?)
          ?.map(
            (value) => GoogleTypeTimeOfDay.fromJson(
              value as core.Map<core.String, core.dynamic>,
            ),
          )
          .toList(),
    );