onServerStarted method
Implementation
void onServerStarted(HttpServer server) {
var prefix = '';
if (this.prefix case final p?) {
prefix = '/$p';
}
print(
'Serving at http://${server.address.host}:${server.port}$prefix',
);
}
void onServerStarted(HttpServer server) {
var prefix = '';
if (this.prefix case final p?) {
prefix = '/$p';
}
print(
'Serving at http://${server.address.host}:${server.port}$prefix',
);
}