close static method
Implementation
static Future close({
bool force = false,
void Function()? onAlreadyStarted,
}) async {
if (isRunning) {
await instance._rawServer.close(force: force);
_server = null;
} else {
if (onAlreadyStarted != null) {
onAlreadyStarted();
} else {
log('Server already started');
}
}
}