NhostFunctionsClient constructor
NhostFunctionsClient({
- required String url,
- UserSession? session,
- Client? httpClient,
httpClientOverride
(optional) can be provided in order to customize the
requests made by the Nhost APIs, which can be useful for proxy
configuration and debugging.
Implementation
NhostFunctionsClient({
required String url,
UserSession? session,
http.Client? httpClient,
}) : _apiClient = ApiClient(
Uri.parse(url),
httpClient: httpClient ?? http.Client(),
),
_session = session ?? UserSession();