toJson method
Implementation
Map<String, dynamic> toJson() {
final addHeaderAction = this.addHeaderAction;
final bounceAction = this.bounceAction;
final lambdaAction = this.lambdaAction;
final s3Action = this.s3Action;
final sNSAction = this.sNSAction;
final stopAction = this.stopAction;
final workmailAction = this.workmailAction;
return {
if (addHeaderAction != null) 'AddHeaderAction': addHeaderAction,
if (bounceAction != null) 'BounceAction': bounceAction,
if (lambdaAction != null) 'LambdaAction': lambdaAction,
if (s3Action != null) 'S3Action': s3Action,
if (sNSAction != null) 'SNSAction': sNSAction,
if (stopAction != null) 'StopAction': stopAction,
if (workmailAction != null) 'WorkmailAction': workmailAction,
};
}