getSlashingSpans method

Future<int?> getSlashingSpans(
  1. String stashId
)

Implementation

Future<int?> getSlashingSpans(String stashId) async {
  final dynamic spans = await serviceRoot.webView!
      .evalJavascript('staking.getSlashingSpans(api, "$stashId")');
  return spans;
}