serverInfoFuture method

Future<ServerInfo> serverInfoFuture()

Return: All information about the server

Implementation

Future<ServerInfo> serverInfoFuture() async {
  final resultStr = await ZeroNetCmd.serverInfo.callFuture();
  return resultStr.message!.serverInfo;
}