toJson method

Map<String, dynamic> toJson()

Allows you to serialize object.

Implementation

Map<String, dynamic> toJson() => {
      "paceStaticBinding": paceStaticBinding,
      "onlineTA": onlineTA,
      "writeEid": writeEid,
      "universalAccessRights": universalAccessRights,
      "authorizedRestrictedIdentification":
          authorizedRestrictedIdentification,
      "auxVerificationCommunityID": auxVerificationCommunityID,
      "auxVerificationDateOfBirth": auxVerificationDateOfBirth,
      "skipAA": skipAA,
      "strictProcessing": strictProcessing,
      "pkdDSCertPriority": pkdDSCertPriority,
      "pkdUseExternalCSCA": pkdUseExternalCSCA,
      "trustedPKD": trustedPKD,
      "passiveAuth": passiveAuth,
      "useSFI": useSFI,
      "readEPassport": readEPassport,
      "readEID": readEID,
      "readEDL": readEDL,
      "authorizedSTSignature": authorizedSTSignature,
      "authorizedSTQSignature": authorizedSTQSignature,
      "authorizedWriteDG17": authorizedWriteDG17,
      "authorizedWriteDG18": authorizedWriteDG18,
      "authorizedWriteDG19": authorizedWriteDG19,
      "authorizedWriteDG20": authorizedWriteDG20,
      "authorizedWriteDG21": authorizedWriteDG21,
      "authorizedVerifyAge": authorizedVerifyAge,
      "authorizedVerifyCommunityID": authorizedVerifyCommunityID,
      "authorizedPrivilegedTerminal": authorizedPrivilegedTerminal,
      "authorizedCANAllowed": authorizedCANAllowed,
      "authorizedPINManagement": authorizedPINManagement,
      "authorizedInstallCert": authorizedInstallCert,
      "authorizedInstallQCert": authorizedInstallQCert,
      "applyAmendments": applyAmendments,
      "autoSettings": autoSettings,
      "proceedReadingAlways": proceedReadingAlways,
      "readingBuffer": readingBuffer,
      "onlineTAToSignDataType": onlineTAToSignDataType,
      "defaultReadingBufferSize": defaultReadingBufferSize,
      "signManagementAction": signManagementAction?.value,
      "profilerType": profilerType?.value,
      "authProcType": authProcType?.value,
      "baseSMProcedure": baseSMProcedure?.value,
      "pacePasswordType": pacePasswordType?.value,
      "terminalType": terminalType?.value,
      "password": password,
      "pkdPA": pkdPA,
      "pkdEAC": pkdEAC,
      "mrz": mrz,
      "eSignPINDefault": eSignPINDefault,
      "eSignPINNewValue": eSignPINNewValue,
      "eDLDataGroups": eDLDataGroups.toJson(),
      "ePassportDataGroups": ePassportDataGroups.toJson(),
      "eIDDataGroups": eIDDataGroups.toJson(),
    }.clearNulls();