toJson method
Implementation
Map<String, dynamic> toJson() {
final cloudWatchLogs = this.cloudWatchLogs;
final firehose = this.firehose;
final s3 = this.s3;
return {
if (cloudWatchLogs != null) 'cloudWatchLogs': cloudWatchLogs,
if (firehose != null) 'firehose': firehose,
if (s3 != null) 's3': s3,
};
}