fromJson method

dynamic fromJson(
  1. Map<String, dynamic> jsonObject
)

Allows you to deserialize object.

Implementation

fromJson(Map<String, dynamic> jsonObject) {
  _paceStaticBinding = jsonObject["paceStaticBinding"];
  _onlineTA = jsonObject["onlineTA"];
  _writeEid = jsonObject["writeEid"];
  _universalAccessRights = jsonObject["universalAccessRights"];
  _authorizedRestrictedIdentification =
      jsonObject["authorizedRestrictedIdentification"];
  _auxVerificationCommunityID = jsonObject["auxVerificationCommunityID"];
  _auxVerificationDateOfBirth = jsonObject["auxVerificationDateOfBirth"];
  _skipAA = jsonObject["skipAA"];
  _strictProcessing = jsonObject["strictProcessing"];
  _pkdDSCertPriority = jsonObject["pkdDSCertPriority"];
  _pkdUseExternalCSCA = jsonObject["pkdUseExternalCSCA"];
  _trustedPKD = jsonObject["trustedPKD"];
  _passiveAuth = jsonObject["passiveAuth"];
  _useSFI = jsonObject["useSFI"];
  _readEPassport = jsonObject["readEPassport"];
  _readEID = jsonObject["readEID"];
  _readEDL = jsonObject["readEDL"];
  _authorizedSTSignature = jsonObject["authorizedSTSignature"];
  _authorizedSTQSignature = jsonObject["authorizedSTQSignature"];
  _authorizedWriteDG17 = jsonObject["authorizedWriteDG17"];
  _authorizedWriteDG18 = jsonObject["authorizedWriteDG18"];
  _authorizedWriteDG19 = jsonObject["authorizedWriteDG19"];
  _authorizedWriteDG20 = jsonObject["authorizedWriteDG20"];
  _authorizedWriteDG21 = jsonObject["authorizedWriteDG21"];
  _authorizedVerifyAge = jsonObject["authorizedVerifyAge"];
  _authorizedVerifyCommunityID = jsonObject["authorizedVerifyCommunityID"];
  _authorizedPrivilegedTerminal = jsonObject["authorizedPrivilegedTerminal"];
  _authorizedCANAllowed = jsonObject["authorizedCANAllowed"];
  _authorizedPINManagement = jsonObject["authorizedPINManagement"];
  _authorizedInstallCert = jsonObject["authorizedInstallCert"];
  _authorizedInstallQCert = jsonObject["authorizedInstallQCert"];
  _applyAmendments = jsonObject["applyAmendments"];
  _autoSettings = jsonObject["autoSettings"];

  _readingBuffer = jsonObject["readingBuffer"];
  _onlineTAToSignDataType = jsonObject["onlineTAToSignDataType"];
  _defaultReadingBufferSize = jsonObject["defaultReadingBufferSize"];
  _signManagementAction =
      SignManagementAction.getByValue(jsonObject["signManagementAction"]);
  _profilerType = RFIDSDKProfilerType.getByValue(jsonObject["profilerType"]);
  _authProcType =
      RFIDAuthenticationProcedureType.getByValue(jsonObject["authProcType"]);
  _baseSMProcedure = RFIDAccessControlProcedureType.getByValue(
      jsonObject["baseSMProcedure"]);
  _pacePasswordType =
      RFIDPasswordType.getByValue(jsonObject["pacePasswordType"]);
  _terminalType = RFIDTerminalType.getByValue(jsonObject["terminalType"]);

  _password = jsonObject["password"];
  _pkdPA = jsonObject["pkdPA"];
  _pkdEAC = jsonObject["pkdEAC"];
  _mrz = jsonObject["mrz"];
  _eSignPINDefault = jsonObject["eSignPINDefault"];
  _eSignPINNewValue = jsonObject["eSignPINNewValue"];

  _reprocessParams = ReprocParams.fromJson(jsonObject["reprocessParams"]);

  _eDLDataGroups.fromJson(jsonObject["eDLDataGroups"]);
  _ePassportDataGroups.fromJson(jsonObject["ePassportDataGroups"]);
  _eIDDataGroups.fromJson(jsonObject["eIDDataGroups"]);

  return this;
}