getPendingSessionProposals method

  1. @override
Map<String, ProposalData> getPendingSessionProposals()
override

Implementation

@override
Map<String, ProposalData> getPendingSessionProposals() {
  _checkInitialized();

  Map<String, ProposalData> pendingProposals = {};
  proposals.getAll().forEach((proposal) {
    pendingProposals[proposal.id.toString()] = proposal;
  });

  return pendingProposals;
}