toMap method
Implementation
Map<String, dynamic> toMap() {
return <String, dynamic>{
'eventPattern': ?eventPattern,
'eventType': eventType,
'notificationConfigurationArn': notificationConfigurationArn,
'regions': regions,
'source': source,
};
}