serverSocketBind method Null safety

Future<ServerSocket> serverSocketBind (
  1. dynamic address,
  2. int port,
  3. {int backlog: 0,
  4. bool v6Only: false,
  5. bool shared: false}
)

Asynchronously returns a ServerSocket that connects to the given address and port when successful.

When this override is installed, this functions overrides the behavior of ServerSocket.bind(...).

Implementation

Future<ServerSocket> serverSocketBind(address, int port,
    {int backlog: 0, bool v6Only: false, bool shared: false}) {
  return ServerSocket._bind(address, port,
      backlog: backlog, v6Only: v6Only, shared: shared);
}