ApiGov class
Constructors
- ApiGov(PolkawalletApi apiRoot, ServiceGov service)
Properties
- apiRoot → PolkawalletApi
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- service → ServiceGov
-
final
Methods
-
getDemocracyLocks(
String address) → Future< List?> -
getDemocracyUnlocks(
String address) → Future< List?> -
getExternalLinks(
GenExternalLinksParams params) → Future< List?> -
getReferendumVoteConvictions(
) → Future< List?> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
queryCouncilInfo(
) → Future< Map?> -
queryCouncilMotions(
) → Future< List< CouncilMotionData> > -
queryCouncilVotes(
) → Future< Map?> -
queryNextExternal(
) → Future< ProposalInfoData?> -
queryProposals(
) → Future< List< ProposalInfoData> > -
queryReferendums(
String address) → Future< List< ReferendumInfo> > -
queryTreasuryOverview(
) → Future< TreasuryOverviewData> -
queryTreasuryProposal(
String id) → Future< Map?> -
queryTreasuryTips(
) → Future< List< TreasuryTipData> > -
queryUserCouncilVote(
String address) → Future< Map?> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited