getNetwork method
Returns the network that the client is currently connected to.
In a non-private network, the networks usually will respond to 1.) Mainnet 2.) Valhalla
Implementation
Future<String> getNetwork() {
return _makeRPCCall('topl_info', params: [{}])
.then((value) => value['network'] as String);
}