toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final accountIds = this.accountIds;
  final allAwsRegions = this.allAwsRegions;
  final awsRegions = this.awsRegions;
  return {
    'AccountIds': accountIds,
    if (allAwsRegions != null) 'AllAwsRegions': allAwsRegions,
    if (awsRegions != null) 'AwsRegions': awsRegions,
  };
}