getPublisherModel method
Gets a Model Garden publisher model.
Throws a http.ClientException if there were problems communicating with
the API service. Throws a ServiceException if the API method failed for
any reason.
Implementation
@override
Future<PublisherModel> getPublisherModel(
GetPublisherModelRequest request,
) async {
if (isClosed) throw StateError('Service is closed');
if (_getPublisherModel case final getPublisherModel?) {
return getPublisherModel(request);
}
throw UnsupportedError('getPublisherModel');
}