toJson method
Implementation
Map<String, dynamic> toJson() {
final cloudwatchAlarm = this.cloudwatchAlarm;
final cloudwatchLogs = this.cloudwatchLogs;
final cloudwatchMetric = this.cloudwatchMetric;
final dynamoDB = this.dynamoDB;
final dynamoDBv2 = this.dynamoDBv2;
final elasticsearch = this.elasticsearch;
final firehose = this.firehose;
final http = this.http;
final iotAnalytics = this.iotAnalytics;
final iotEvents = this.iotEvents;
final iotSiteWise = this.iotSiteWise;
final kafka = this.kafka;
final kinesis = this.kinesis;
final lambda = this.lambda;
final republish = this.republish;
final s3 = this.s3;
final salesforce = this.salesforce;
final sns = this.sns;
final sqs = this.sqs;
final stepFunctions = this.stepFunctions;
final timestream = this.timestream;
return {
if (cloudwatchAlarm != null) 'cloudwatchAlarm': cloudwatchAlarm,
if (cloudwatchLogs != null) 'cloudwatchLogs': cloudwatchLogs,
if (cloudwatchMetric != null) 'cloudwatchMetric': cloudwatchMetric,
if (dynamoDB != null) 'dynamoDB': dynamoDB,
if (dynamoDBv2 != null) 'dynamoDBv2': dynamoDBv2,
if (elasticsearch != null) 'elasticsearch': elasticsearch,
if (firehose != null) 'firehose': firehose,
if (http != null) 'http': http,
if (iotAnalytics != null) 'iotAnalytics': iotAnalytics,
if (iotEvents != null) 'iotEvents': iotEvents,
if (iotSiteWise != null) 'iotSiteWise': iotSiteWise,
if (kafka != null) 'kafka': kafka,
if (kinesis != null) 'kinesis': kinesis,
if (lambda != null) 'lambda': lambda,
if (republish != null) 'republish': republish,
if (s3 != null) 's3': s3,
if (salesforce != null) 'salesforce': salesforce,
if (sns != null) 'sns': sns,
if (sqs != null) 'sqs': sqs,
if (stepFunctions != null) 'stepFunctions': stepFunctions,
if (timestream != null) 'timestream': timestream,
};
}