FusionAuthRESTClient<ReturnType, ErrorReturnType> constructor
FusionAuthRESTClient<ReturnType, ErrorReturnType> (
- String host,
- HttpClient httpClient
Implementation
FusionAuthRESTClient(this.host, this.httpClient) {
if (ErrorReturnType == Errors) {
errorResponseHandler =
defaultErrorResponseHandlerBuilder((d) => Errors.fromJson(d));
}
}