getNearestDc method

Future<Result<NearestDcBase>> getNearestDc()

Get Nearest Dc.

ID: 1fb33026.

Implementation

Future<Result<NearestDcBase>> getNearestDc() async {
  // Preparing the request.
  final request = HelpGetNearestDc();

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

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