getNetworkList method
Get the networks that are visible to the Smart Machine.
Implementation
Future<Iterable<NetworkInfo>> getNetworkList() async {
final request = GetNetworkListRequest();
final response = await _client.getNetworkList(request);
return response.networks;
}