DeploymentChannelProfileWebWidgetConfig.fromMap constructor
DeploymentChannelProfileWebWidgetConfig.fromMap(
- Map<String, dynamic> map
)
Implementation
factory DeploymentChannelProfileWebWidgetConfig.fromMap(Map<String, dynamic> map) {
return DeploymentChannelProfileWebWidgetConfig(
modality: (() { final guardedValue = map['modality']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
securitySettings: (() { final guardedValue = map['securitySettings']; if (guardedValue == null) return null; return pulumi.Input.fromValue(DeploymentChannelProfileWebWidgetConfigSecuritySettings.fromMap((guardedValue as Map).cast<String, dynamic>())); })(),
theme: (() { final guardedValue = map['theme']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
webWidgetTitle: (() { final guardedValue = map['webWidgetTitle']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
);
}