loadValidatorRewardsData method

Future<Map?> loadValidatorRewardsData(
  1. String validatorId
)

Implementation

Future<Map?> loadValidatorRewardsData(String validatorId) async {
  dynamic data = await serviceRoot.webView!.evalJavascript(
      'staking.loadValidatorRewardsData(api, "$validatorId")');
  return data;
}