toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final attachmentFieldMappings = this.attachmentFieldMappings;
  final crawlAttachments = this.crawlAttachments;
  return {
    if (attachmentFieldMappings != null)
      'AttachmentFieldMappings': attachmentFieldMappings,
    if (crawlAttachments != null) 'CrawlAttachments': crawlAttachments,
  };
}