Source
Map<String, String> asMap() { var hostWithPort = host; if (port != null) { hostWithPort = "$host:$port"; } return {"host": hostWithPort, "basePath": basePath, "scheme": scheme}; }
Map<String, String> asMap() { var hostWithPort = host; if (port != null) { hostWithPort = "$host:$port"; } return {"host": hostWithPort, "basePath": basePath, "scheme": scheme}; }