urlJoin 

주어진 문자열 인수를 첫 번째 인수(URL의 시작)와 합쳐서 슬래시(/) 기호가 올바르게 포함되도록 연결합니다.
Dart에서는 하나의 인자만 받아들이며, 인자는 List로 구성됩니다.
Parameters
| 이름 | 타입 | 필수 | 기본값 |
|---|---|---|---|
args | ...any[] | ● | – |
연결할 URL 조각들(가변 인자). Dart에서는 List<dynamic> 하나로 전달합니다. | |||
Returns
string
Examples
javascript
urlJoin('https://example.com', 'hello', 'world'); // Returns 'https://example.com/hello/world'dart
urlJoin(['https://example.com', 'hello', 'world']); // Returns 'https://example.com/hello/world'python
urlJoin('https://example.com', 'hello', 'world') # Returns 'https://example.com/hello/world'