toMap method
Implementation
Map<String, dynamic> toMap() {
return <String, dynamic>{
'detailType': detailType,
'eventTypeIds': eventTypeIds,
'name': ?name,
'region': ?region,
'resource': resource,
'status': ?status,
'tags': ?tags,
'targets': ?pulumi.Input.mapOptionalInputValue<List<NotificationRuleTarget>, List<Map<String, dynamic>>>(targets, (value) => pulumi.Input.encodeList<NotificationRuleTarget, Map<String, dynamic>>(value, (value) => value.toMap())),
};
}