getUsage method

Future<ApiResponse<Usage>> getUsage(
  1. Object usageId, {
  2. Map<String, Object?>? queryParams,
  3. bool? raiseOnError,
  4. String? responseFormat,
})

GET /api/{api_version}/usages/{usage_id}

Implementation

Future<ApiResponse<views.Usage>> getUsage(
  Object usageId, {
  Map<String, Object?>? queryParams,
  bool? raiseOnError,
  String? responseFormat,
}) =>
    endpoints.getUsage(
      client,
      usageId,
      queryParams: queryParams,
      raiseOnError: raiseOnError,
      responseFormat: responseFormat,
    );