getModelVersion method
Retrieves a model version by ID.
id - The ID of the model version to retrieve.
Implementation
Future<GetModelVersionResponse> getModelVersion(int id) async {
return _retryPolicy.execute(() async {
final json = await _apiClient.get('/v1/model-versions/$id');
return GetModelVersionResponse.fromJson(json);
});
}