NotificationRuleTarget.fromMap constructor
NotificationRuleTarget.fromMap(
- Map<String, dynamic> map
)
Implementation
factory NotificationRuleTarget.fromMap(Map<String, dynamic> map) {
return NotificationRuleTarget(
address: pulumi.Input.fromValue(map['address'] as String),
status: (() { final guardedValue = map['status']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
type: (() { final guardedValue = map['type']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
);
}