ControlPromoteActionSearchLinkPromotion.fromMap constructor
ControlPromoteActionSearchLinkPromotion.fromMap(
- Map<String, dynamic> map
)
Implementation
factory ControlPromoteActionSearchLinkPromotion.fromMap(Map<String, dynamic> map) {
return ControlPromoteActionSearchLinkPromotion(
description: (() { final guardedValue = map['description']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
document: (() { final guardedValue = map['document']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
enabled: (() { final guardedValue = map['enabled']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as bool); })(),
imageUri: (() { final guardedValue = map['imageUri']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
title: pulumi.Input.fromValue(map['title'] as String),
uri: (() { final guardedValue = map['uri']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
);
}