Schedule.fromJson constructor

Schedule.fromJson(
  1. Map json_
)

Implementation

Schedule.fromJson(core.Map json_)
    : this(
        cronSchedule: json_.containsKey('cronSchedule')
            ? json_['cronSchedule'] as core.String
            : null,
        nextScheduledBackupTime: json_.containsKey('nextScheduledBackupTime')
            ? json_['nextScheduledBackupTime'] as core.String
            : null,
        paused:
            json_.containsKey('paused') ? json_['paused'] as core.bool : null,
        rpoConfig: json_.containsKey('rpoConfig')
            ? RpoConfig.fromJson(
                json_['rpoConfig'] as core.Map<core.String, core.dynamic>)
            : null,
      );