toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final sourceRegions = this.sourceRegions;
  final sourceType = this.sourceType;
  final awsOrganizationsSource = this.awsOrganizationsSource;
  final includeFutureRegions = this.includeFutureRegions;
  return {
    'SourceRegions': sourceRegions,
    'SourceType': sourceType,
    if (awsOrganizationsSource != null)
      'AwsOrganizationsSource': awsOrganizationsSource,
    if (includeFutureRegions != null)
      'IncludeFutureRegions': includeFutureRegions,
  };
}