toIssuingHistory method

void toIssuingHistory(
  1. String holderDid,
  2. String plaintextCredential,
  3. String w3cCredential
)

Stores a credential issued to holderDid.

Implementation

void toIssuingHistory(
    String holderDid, String plaintextCredential, String w3cCredential) {
  var tmp = Credential('', w3cCredential, plaintextCredential);
  _issuingHistory!.put(holderDid, tmp);
}