# CreditCardScannerUiResult.fromJson constructor

CreditCardScannerUiResult.fromJson(

1. Map<String, dynamic> json

)

## Implementation

    factory CreditCardScannerUiResult.fromJson(Map<String, dynamic> json) =>
        CreditCardScannerUiResult(
          recognitionStatus: CreditCardScanningStatus.values
              .byName(json["recognitionStatus"] as String),
          creditCard: (json["creditCard"] != null
              ? GenericDocument.fromJson(
                  json["creditCard"] as Map<String, dynamic>)
              : null),
        );