toJson method
Implementation
Map<String, dynamic> toJson() {
final functionArn = this.functionArn;
final invocationType = this.invocationType;
final topicArn = this.topicArn;
return {
'FunctionArn': functionArn,
if (invocationType != null) 'InvocationType': invocationType.toValue(),
if (topicArn != null) 'TopicArn': topicArn,
};
}