SalesforceStandardObjectAttachmentConfiguration.fromJson constructor
SalesforceStandardObjectAttachmentConfiguration.fromJson(
- Map<String, dynamic> json
)
Implementation
factory SalesforceStandardObjectAttachmentConfiguration.fromJson(
Map<String, dynamic> json) {
return SalesforceStandardObjectAttachmentConfiguration(
documentTitleFieldName: json['DocumentTitleFieldName'] as String?,
fieldMappings: (json['FieldMappings'] as List?)
?.whereNotNull()
.map((e) =>
DataSourceToIndexFieldMapping.fromJson(e as Map<String, dynamic>))
.toList(),
);
}