toMap method
Implementation
Map<String, dynamic> toMap() {
return <String, dynamic>{
'autoClose': ?autoClose,
'notificationChannelStrategies': ?pulumi.Input.mapOptionalInputValue<List<AlertPolicyAlertStrategyNotificationChannelStrategy>, List<Map<String, dynamic>>>(notificationChannelStrategies, (value) => pulumi.Input.encodeList<AlertPolicyAlertStrategyNotificationChannelStrategy, Map<String, dynamic>>(value, (value) => value.toMap())),
'notificationPrompts': ?notificationPrompts,
'notificationRateLimit': ?pulumi.Input.mapOptionalInputValue<AlertPolicyAlertStrategyNotificationRateLimit, Map<String, dynamic>>(notificationRateLimit, (value) => value.toMap()),
};
}