ScheduleActionStartSettings.fromJson constructor

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

Implementation

factory ScheduleActionStartSettings.fromJson(Map<String, dynamic> json) {
  return ScheduleActionStartSettings(
    fixedModeScheduleActionStartSettings:
        json['fixedModeScheduleActionStartSettings'] != null
            ? FixedModeScheduleActionStartSettings.fromJson(
                json['fixedModeScheduleActionStartSettings']
                    as Map<String, dynamic>)
            : null,
    followModeScheduleActionStartSettings:
        json['followModeScheduleActionStartSettings'] != null
            ? FollowModeScheduleActionStartSettings.fromJson(
                json['followModeScheduleActionStartSettings']
                    as Map<String, dynamic>)
            : null,
    immediateModeScheduleActionStartSettings:
        json['immediateModeScheduleActionStartSettings'] != null
            ? ImmediateModeScheduleActionStartSettings.fromJson(
                json['immediateModeScheduleActionStartSettings']
                    as Map<String, dynamic>)
            : null,
  );
}