toJson method
Implementation
Map<String, dynamic> toJson() {
final crawlArchivedSpaces = this.crawlArchivedSpaces;
final crawlPersonalSpaces = this.crawlPersonalSpaces;
final excludeSpaces = this.excludeSpaces;
final includeSpaces = this.includeSpaces;
final spaceFieldMappings = this.spaceFieldMappings;
return {
if (crawlArchivedSpaces != null)
'CrawlArchivedSpaces': crawlArchivedSpaces,
if (crawlPersonalSpaces != null)
'CrawlPersonalSpaces': crawlPersonalSpaces,
if (excludeSpaces != null) 'ExcludeSpaces': excludeSpaces,
if (includeSpaces != null) 'IncludeSpaces': includeSpaces,
if (spaceFieldMappings != null) 'SpaceFieldMappings': spaceFieldMappings,
};
}