getPendingAuthRequests method

  1. @override
Map<int, PendingAuthRequest> getPendingAuthRequests()
override

Implementation

@override
Map<int, PendingAuthRequest> getPendingAuthRequests() {
  Map<int, PendingAuthRequest> pendingAuthRequests = {};
  authRequests.getAll().forEach((key) {
    pendingAuthRequests[key.id] = key;
  });
  return pendingAuthRequests;
}