RecurringSchedule.fromJson constructor

RecurringSchedule.fromJson(
  1. Map json_
)

Implementation

RecurringSchedule.fromJson(core.Map json_)
  : this(
      endTime: json_['endTime'] as core.String?,
      frequency: json_['frequency'] as core.String?,
      lastExecuteTime: json_['lastExecuteTime'] as core.String?,
      monthly:
          json_.containsKey('monthly')
              ? MonthlySchedule.fromJson(
                json_['monthly'] as core.Map<core.String, core.dynamic>,
              )
              : null,
      nextExecuteTime: json_['nextExecuteTime'] as core.String?,
      startTime: json_['startTime'] as core.String?,
      timeOfDay:
          json_.containsKey('timeOfDay')
              ? TimeOfDay.fromJson(
                json_['timeOfDay'] as core.Map<core.String, core.dynamic>,
              )
              : null,
      timeZone:
          json_.containsKey('timeZone')
              ? TimeZone.fromJson(
                json_['timeZone'] as core.Map<core.String, core.dynamic>,
              )
              : null,
      weekly:
          json_.containsKey('weekly')
              ? WeeklySchedule.fromJson(
                json_['weekly'] as core.Map<core.String, core.dynamic>,
              )
              : null,
    );