connect method

Socket connect(
  1. String address, [
  2. SocketOptions? options
])

Implementation

Socket connect(String address, [SocketOptions? options]) =>
    socketFromJsObject(_delegate.connect(address, options?.delegate));