buildQueryUrl method

String buildQueryUrl(
  1. List specificParts
)

Implementation

String buildQueryUrl(List<dynamic> specificParts) {
  StringBuffer stringBuffer = StringBuffer();

  stringBuffer.write(CubeSettings.instance.apiEndpoint);

  for (dynamic part in specificParts) {
    stringBuffer.write("/");
    stringBuffer.write(part.toString());
  }

  return stringBuffer.toString();
}