toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final clearTimer = this.clearTimer;
  final dynamoDB = this.dynamoDB;
  final dynamoDBv2 = this.dynamoDBv2;
  final firehose = this.firehose;
  final iotEvents = this.iotEvents;
  final iotSiteWise = this.iotSiteWise;
  final iotTopicPublish = this.iotTopicPublish;
  final lambda = this.lambda;
  final resetTimer = this.resetTimer;
  final setTimer = this.setTimer;
  final setVariable = this.setVariable;
  final sns = this.sns;
  final sqs = this.sqs;
  return {
    if (clearTimer != null) 'clearTimer': clearTimer,
    if (dynamoDB != null) 'dynamoDB': dynamoDB,
    if (dynamoDBv2 != null) 'dynamoDBv2': dynamoDBv2,
    if (firehose != null) 'firehose': firehose,
    if (iotEvents != null) 'iotEvents': iotEvents,
    if (iotSiteWise != null) 'iotSiteWise': iotSiteWise,
    if (iotTopicPublish != null) 'iotTopicPublish': iotTopicPublish,
    if (lambda != null) 'lambda': lambda,
    if (resetTimer != null) 'resetTimer': resetTimer,
    if (setTimer != null) 'setTimer': setTimer,
    if (setVariable != null) 'setVariable': setVariable,
    if (sns != null) 'sns': sns,
    if (sqs != null) 'sqs': sqs,
  };
}