toJson method
Implementation
Map<String, dynamic> toJson() {
final eventSource = this.eventSource;
final maximumExecutionFrequency = this.maximumExecutionFrequency;
final messageType = this.messageType;
return {
if (eventSource != null) 'EventSource': eventSource.toValue(),
if (maximumExecutionFrequency != null)
'MaximumExecutionFrequency': maximumExecutionFrequency.toValue(),
if (messageType != null) 'MessageType': messageType.toValue(),
};
}