getCompletedRequestsForPairing method

  1. @override
Map<int, StoredCacao> getCompletedRequestsForPairing({
  1. required String pairingTopic,
})
override

Implementation

@override
Map<int, StoredCacao> getCompletedRequestsForPairing({
  required String pairingTopic,
}) {
  Map<int, StoredCacao> completedRequests = {};
  completeRequests
      .getAll()
      .where(
        (e) => e.pairingTopic == pairingTopic,
      )
      .forEach((key) {
    completedRequests[key.id] = key;
  });
  return completedRequests;
}