toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final fixedModeScheduleActionStartSettings =
      this.fixedModeScheduleActionStartSettings;
  final followModeScheduleActionStartSettings =
      this.followModeScheduleActionStartSettings;
  final immediateModeScheduleActionStartSettings =
      this.immediateModeScheduleActionStartSettings;
  return {
    if (fixedModeScheduleActionStartSettings != null)
      'fixedModeScheduleActionStartSettings':
          fixedModeScheduleActionStartSettings,
    if (followModeScheduleActionStartSettings != null)
      'followModeScheduleActionStartSettings':
          followModeScheduleActionStartSettings,
    if (immediateModeScheduleActionStartSettings != null)
      'immediateModeScheduleActionStartSettings':
          immediateModeScheduleActionStartSettings,
  };
}