endpoint method

Uri endpoint(
  1. bool https,
  2. String apiEndpoint
)
override

Implementation

Uri endpoint(bool https, String apiEndpoint) {
  if (queryParams == null) {
    return uriBuilder(https, apiEndpoint, path);
  }
  return uriBuilderParams(https, apiEndpoint, path, queryParams!);
}