composeUri method Null safety

String composeUri(
  1. ConfigParams options,
  2. String? defaultProtocol,
  3. int? defaultPort
)

Composes URI from config parameters. The result URI will be in the following form: protocol://username@password@host1:port1,host2:port2,...?param1=abc&param2=xyz&...

  • options configuration parameters
  • defaultProtocol a default protocol
  • defaultPort a default port