# DocumentDataExtractorConfiguration.fromJson constructor

DocumentDataExtractorConfiguration.fromJson(

1. Map<String, dynamic> json

)

## Implementation

    factory DocumentDataExtractorConfiguration.fromJson(
            Map<String, dynamic> json) =>
        DocumentDataExtractorConfiguration(
          resultAccumulationConfig: json.containsKey("resultAccumulationConfig")
              ? ResultAccumulationConfiguration.fromJson(
                  json["resultAccumulationConfig"] as Map<String, dynamic>)
              : ResultAccumulationConfiguration(),
          fieldExcludeList: json.containsKey("fieldExcludeList")
              ? (json["fieldExcludeList"] as List<dynamic>)
                  .map((it) => it as String)
                  .toList()
              : [],
          configurations: (json["configurations"] as List<dynamic>)
              .map((it) => DocumentDataExtractorConfigurationElement.fromJson(
                  it as Map<String, dynamic>))
              .toList(),
          returnCrops: json.containsKey("returnCrops")
              ? (json["returnCrops"] as bool)
              : false,
        );