ScheduleActionSettings.fromJson constructor
ScheduleActionSettings.fromJson(
- Map<String, dynamic> json
)
Implementation
factory ScheduleActionSettings.fromJson(Map<String, dynamic> json) {
return ScheduleActionSettings(
hlsId3SegmentTaggingSettings: json['hlsId3SegmentTaggingSettings'] != null
? HlsId3SegmentTaggingScheduleActionSettings.fromJson(
json['hlsId3SegmentTaggingSettings'] as Map<String, dynamic>)
: null,
hlsTimedMetadataSettings: json['hlsTimedMetadataSettings'] != null
? HlsTimedMetadataScheduleActionSettings.fromJson(
json['hlsTimedMetadataSettings'] as Map<String, dynamic>)
: null,
inputPrepareSettings: json['inputPrepareSettings'] != null
? InputPrepareScheduleActionSettings.fromJson(
json['inputPrepareSettings'] as Map<String, dynamic>)
: null,
inputSwitchSettings: json['inputSwitchSettings'] != null
? InputSwitchScheduleActionSettings.fromJson(
json['inputSwitchSettings'] as Map<String, dynamic>)
: null,
pauseStateSettings: json['pauseStateSettings'] != null
? PauseStateScheduleActionSettings.fromJson(
json['pauseStateSettings'] as Map<String, dynamic>)
: null,
scte35ReturnToNetworkSettings:
json['scte35ReturnToNetworkSettings'] != null
? Scte35ReturnToNetworkScheduleActionSettings.fromJson(
json['scte35ReturnToNetworkSettings'] as Map<String, dynamic>)
: null,
scte35SpliceInsertSettings: json['scte35SpliceInsertSettings'] != null
? Scte35SpliceInsertScheduleActionSettings.fromJson(
json['scte35SpliceInsertSettings'] as Map<String, dynamic>)
: null,
scte35TimeSignalSettings: json['scte35TimeSignalSettings'] != null
? Scte35TimeSignalScheduleActionSettings.fromJson(
json['scte35TimeSignalSettings'] as Map<String, dynamic>)
: null,
staticImageActivateSettings: json['staticImageActivateSettings'] != null
? StaticImageActivateScheduleActionSettings.fromJson(
json['staticImageActivateSettings'] as Map<String, dynamic>)
: null,
staticImageDeactivateSettings:
json['staticImageDeactivateSettings'] != null
? StaticImageDeactivateScheduleActionSettings.fromJson(
json['staticImageDeactivateSettings'] as Map<String, dynamic>)
: null,
);
}