build_graph function
Implementation
Future<GraphServiceClient> build_graph(String username) async {
var _token = await get_token(username);
if (_token == null) {
throw Exception('no token');
}
var _client = build_client(_token);
return GraphServiceClient(_token, _client);
}