ChannelInputAttachmentInputSettingsCaptionSelector.fromMap constructor
ChannelInputAttachmentInputSettingsCaptionSelector.fromMap(
- Map<String, dynamic> map
)
Implementation
factory ChannelInputAttachmentInputSettingsCaptionSelector.fromMap(Map<String, dynamic> map) {
return ChannelInputAttachmentInputSettingsCaptionSelector(
languageCode: (() { final guardedValue = map['languageCode']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
name: pulumi.Input.fromValue(map['name'] as String),
selectorSettings: (() { final guardedValue = map['selectorSettings']; if (guardedValue == null) return null; return pulumi.Input.fromValue(ChannelInputAttachmentInputSettingsCaptionSelectorSelectorSettings.fromMap((guardedValue as Map).cast<String, dynamic>())); })(),
);
}