RecurringSchedule.fromJson constructor

RecurringSchedule.fromJson(
  1. Map json_
)

Implementation

RecurringSchedule.fromJson(core.Map json_)
    : this(
        endTime: json_.containsKey('endTime')
            ? json_['endTime'] as core.String
            : null,
        frequency: json_.containsKey('frequency')
            ? json_['frequency'] as core.String
            : null,
        lastExecuteTime: json_.containsKey('lastExecuteTime')
            ? json_['lastExecuteTime'] as core.String
            : null,
        monthly: json_.containsKey('monthly')
            ? MonthlySchedule.fromJson(
                json_['monthly'] as core.Map<core.String, core.dynamic>)
            : null,
        nextExecuteTime: json_.containsKey('nextExecuteTime')
            ? json_['nextExecuteTime'] as core.String
            : null,
        startTime: json_.containsKey('startTime')
            ? json_['startTime'] as core.String
            : null,
        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,
      );