baseUrl method

String baseUrl(
  1. int port, {
  2. String scheme = 'http',
})

scheme://host:port of the container's port: http unless scheme says otherwise.

Implementation

String baseUrl(int port, {String scheme = 'http'}) =>
    '$scheme://$host:${mappedPort(port)}';