loadAsyncGraph method

Future<Result<StatsGraphBase>> loadAsyncGraph({
  1. required String token,
  2. int? x,
})

Load Async Graph.

ID: 621d5fa0.

Implementation

Future<Result<StatsGraphBase>> loadAsyncGraph({
  required String token,
  int? x,
}) async {
  // Preparing the request.
  final request = StatsLoadAsyncGraph(
    token: token,
    x: x,
  );

  // Invoke and wait for response.
  final response = await _c.invoke(request);

  // Return the result.
  return response._to<StatsGraphBase>();
}