UrlHelper constructor

UrlHelper(
  1. String _domain,
  2. String _path, [
  3. String _scheme = 'http',
  4. String? _signKey = '',
  5. Map<String, String> parameters = const {},
])

Implementation

UrlHelper(this._domain, this._path,
    [this._scheme = 'http',
    this._signKey = '',
    Map<String, String> parameters = const {}])
    : _parameters = SplayTreeMap.of(parameters) {
  if (!_path.startsWith('/')) {
    _path = '/$_path';
  }
}