toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final eventTriggers = this.eventTriggers;
  final lambdaArn = this.lambdaArn;
  return {
    if (eventTriggers != null) 'EventTriggers': eventTriggers,
    if (lambdaArn != null) 'LambdaArn': lambdaArn,
  };
}