getModelVersionMini method

Future<GetModelVersionMiniResponse> getModelVersionMini(
  1. int id
)

Retrieves a mini version of a model version by ID.

id - The ID of the model version to retrieve.

Implementation

Future<GetModelVersionMiniResponse> getModelVersionMini(int id) async {
  return _retryPolicy.execute(() async {
    final json = await _apiClient.get('/v1/model-versions/mini/$id');
    return GetModelVersionMiniResponse.fromJson(json);
  });
}