stop method Null safety
- {bool force = false}
Permanently stops the server from listening for new connections.
If force
is true
, active connections will be closed immediately.
Implementation
Future<void> stop({bool force = false});
Permanently stops the server from listening for new connections.
If force
is true
, active connections will be closed immediately.
Future<void> stop({bool force = false});