addPKDCertificates method
Used to pass certificates to Document Reader that will be used during the RFID chip processing.
certificates
- PKD certificates.
Implementation
Future<void> addPKDCertificates(List<PKDCertificate> certificates) async {
List<dynamic> json = [];
for (PKDCertificate cert in certificates) {
json.add(cert.toJson());
}
await _bridge.invokeMethod("addPKDCertificates", [json]);
}