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