DataSourceRefreshWeeklySchedule.fromJson constructor

DataSourceRefreshWeeklySchedule.fromJson(
  1. Map json_
)

Implementation

DataSourceRefreshWeeklySchedule.fromJson(core.Map json_)
    : this(
        daysOfWeek: json_.containsKey('daysOfWeek')
            ? (json_['daysOfWeek'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        startTime: json_.containsKey('startTime')
            ? TimeOfDay.fromJson(
                json_['startTime'] as core.Map<core.String, core.dynamic>)
            : null,
      );