parseUri method Null safety

ConfigParams parseUri(
  1. String? uri,
  2. String defaultProtocol,
  3. int defaultPort
)

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

  • uri the URI to be parsed
  • defaultProtocol a default protocol
  • defaultPort a default port return a configuration parameters with URI elements