Creates an instance from an ApplicationConfiguration.
Source
TestClient.fromConfig(ApplicationConfiguration config, {bool useHTTPS: false}) {
baseURL = "${useHTTPS ? "https" : "http"}://localhost:${config.port}";
}
Creates an instance from an ApplicationConfiguration.
TestClient.fromConfig(ApplicationConfiguration config, {bool useHTTPS: false}) {
baseURL = "${useHTTPS ? "https" : "http"}://localhost:${config.port}";
}