netPeerCount method
Net peer count,
Implementation
Future<int> netPeerCount() async {
final String method = MoacRpcMethods.netPeerCount;
final res = await rpcClient.request(method);
if (res != null && res.containsKey(moacResultKey)) {
return MoacUtilities.hexToInt(res[moacResultKey]);
}
_processError(method, res);
return null;
}