WeeklyAutoScalingSchedule.fromJson constructor
WeeklyAutoScalingSchedule.fromJson(
- Map<String, dynamic> json
)
Implementation
factory WeeklyAutoScalingSchedule.fromJson(Map<String, dynamic> json) {
return WeeklyAutoScalingSchedule(
friday: (json['Friday'] as Map<String, dynamic>?)
?.map((k, e) => MapEntry(k, e as String)),
monday: (json['Monday'] as Map<String, dynamic>?)
?.map((k, e) => MapEntry(k, e as String)),
saturday: (json['Saturday'] as Map<String, dynamic>?)
?.map((k, e) => MapEntry(k, e as String)),
sunday: (json['Sunday'] as Map<String, dynamic>?)
?.map((k, e) => MapEntry(k, e as String)),
thursday: (json['Thursday'] as Map<String, dynamic>?)
?.map((k, e) => MapEntry(k, e as String)),
tuesday: (json['Tuesday'] as Map<String, dynamic>?)
?.map((k, e) => MapEntry(k, e as String)),
wednesday: (json['Wednesday'] as Map<String, dynamic>?)
?.map((k, e) => MapEntry(k, e as String)),
);
}