getServerInfo method
The server_info command asks the server for a human-readable version of various information about the rippled server being queried.
Implementation
Future<ServerInfo> getServerInfo() async {
final response = await makeCustomCall<Map<String, dynamic>>("server_info");
return ServerInfo.fromJson(response);
}