ChannelEncoderSettingsTimecodeConfig.fromMap constructor
ChannelEncoderSettingsTimecodeConfig.fromMap(
- Map<String, dynamic> map
)
Implementation
factory ChannelEncoderSettingsTimecodeConfig.fromMap(Map<String, dynamic> map) {
return ChannelEncoderSettingsTimecodeConfig(
source: pulumi.Input.fromValue(map['source'] as String),
syncThreshold: (() { final guardedValue = map['syncThreshold']; if (guardedValue == null) return null; return pulumi.Input.fromValue((guardedValue as num).toInt()); })(),
);
}