toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final eventArn = this.eventArn;
  final awsAccountId = this.awsAccountId;
  return {
    'eventArn': eventArn,
    if (awsAccountId != null) 'awsAccountId': awsAccountId,
  };
}