SettingsMutationSchedule.fromJson constructor

SettingsMutationSchedule.fromJson(
  1. Map<String, Object?> json
)

Implementation

factory SettingsMutationSchedule.fromJson(Map<String, Object?> json) =>
    SettingsMutationSchedule(
      description: json["description"] as String,
      id: json["id"] as String,
      interval: json["interval"] as String,
      name: json["name"] as String,
      scheduleOn: json["schedule_on"] as String,
      spec: SettingsMutationScheduleSpec.fromJson(
        (json["spec"] as Map).cast<String, Object?>(),
      ),
      type: json["type"] as String,
    );