addPKDCertificates method

void addPKDCertificates(
  1. List<PKDCertificate> certificates
)

Used to pass certificates to Document Reader that will be used during the RFID chip processing.

certificates - PKD certificates.

Implementation

void addPKDCertificates(List<PKDCertificate> certificates) {
  List<dynamic> json = [];
  for (PKDCertificate cert in certificates) {
    json.add(cert.toJson());
  }
  _bridge.invokeMethod("addPKDCertificates", [json]);
}