# MrzScannerIntroImage.fromJson constructor

MrzScannerIntroImage.fromJson(

1. Map<String, dynamic> json

)

## Implementation

    factory MrzScannerIntroImage.fromJson(Map<String, dynamic> json) {
      String _type = json["_type"];
      switch (_type) {
        case "MrzIntroDefaultImage":
          return MrzIntroDefaultImage.fromJson(json);
        case "MrzIntroNoImage":
          return MrzIntroNoImage.fromJson(json);
        case "MrzIntroCustomImage":
          return MrzIntroCustomImage.fromJson(json);
        default:
          throw ArgumentError("Invalid polymorphic type: $_type");
      }
    }