ModelService constructor

ModelService({
  1. required Client client,
})

Creates a ModelService using client for transport.

The provided http.Client must be configured to provide whatever authentication is required by ModelService. You can do that using package:googleapis_auth.

Implementation

ModelService({required http.Client client})
  : _client = ServiceClient(client: client);