uriBuilderParams function

Uri uriBuilderParams(
  1. bool https,
  2. String apiEndpoint,
  3. dynamic path,
  4. Map<String, String> params,
)

Implementation

Uri uriBuilderParams(
    bool https, String apiEndpoint, dynamic path, Map<String, String> params) {
  return https
      ? Uri.https(apiEndpoint, path, params)
      : Uri.http(apiEndpoint, path, params);
}