AutoTuneMaintenanceSchedule.fromJson constructor

AutoTuneMaintenanceSchedule.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory AutoTuneMaintenanceSchedule.fromJson(Map<String, dynamic> json) {
  return AutoTuneMaintenanceSchedule(
    cronExpressionForRecurrence:
        json['CronExpressionForRecurrence'] as String?,
    duration: json['Duration'] != null
        ? Duration.fromJson(json['Duration'] as Map<String, dynamic>)
        : null,
    startAt: timeStampFromJson(json['StartAt']),
  );
}