# DocumentDataExtractorConfigurationElement.fromJson constructor

DocumentDataExtractorConfigurationElement.fromJson(

1. Map<String, dynamic> json

)

## Implementation

    factory DocumentDataExtractorConfigurationElement.fromJson(
        Map<String, dynamic> json) {
      String _type = json["_type"];
      switch (_type) {
        case "DateValidationConfiguration":
          return DateValidationConfiguration.fromJson(json);
        case "EuropeanHealthInsuranceCardConfiguration":
          return EuropeanHealthInsuranceCardConfiguration.fromJson(json);
        case "MRZFallbackConfiguration":
          return MrzFallbackConfiguration.fromJson(json);
        case "DocumentDataExtractorCommonConfiguration":
          return DocumentDataExtractorCommonConfiguration.fromJson(json);
        default:
          throw ArgumentError("Invalid polymorphic type: $_type");
      }
    }