queryElectedInfo method

Future<Map?> queryElectedInfo()

Implementation

Future<Map?> queryElectedInfo() async {
  dynamic data = await serviceRoot.webView!
      .evalJavascript('staking.querySortedTargets(api)', allowRepeat: false);
  return data;
}