getExchangeHistoryEntriesForCredential method

List<ExchangeHistoryEntry>? getExchangeHistoryEntriesForCredential(
  1. String credentialDid
)

Returns the Exchange History associated with a credential identified by credentialDid.

Implementation

List<ExchangeHistoryEntry>? getExchangeHistoryEntriesForCredential(
    String credentialDid) {
  return _exchangeHistory!.get(credentialDid)?.cast<ExchangeHistoryEntry>();
}