GetAllMyServers static method
Implementation
static Future<ServerInfoList> GetAllMyServers() async {
String jwt = await getJWT();
final channel = await Channel.getDefaultIoTManagerChannel();
final stub = ServerManagerClient(channel,
options: CallOptions(metadata: {'jwt': jwt}));
Empty empty = Empty();
ServerInfoList serverInfoList = await stub.getAllMyServers(empty);
print('GetAllServer: ${serverInfoList}');
channel.shutdown();
return serverInfoList;
}