# MrzFallbackConfiguration.fromJson constructor

MrzFallbackConfiguration.fromJson(

1. Map<String, dynamic> json

)

## Implementation

    factory MrzFallbackConfiguration.fromJson(Map<String, dynamic> json) =>
        MrzFallbackConfiguration(
          acceptedCountries: json.containsKey("acceptedCountries")
              ? (json["acceptedCountries"] as List<dynamic>)
                  .map((it) => it as String)
                  .toList()
              : [],
          acceptedMRZTypes: json.containsKey("acceptedMRZTypes")
              ? (json["acceptedMRZTypes"] as List<dynamic>)
                  .map((it) => MrzDocumentType.values.byName(it as String))
                  .toList()
              : [],
        );