connect static method

Future<bool?> connect(
  1. String ip,
  2. String port
)

Implementation

static Future<bool?> connect(String ip, String port) async {
  final bool? success =
      await _channel.invokeMethod('connect', {"ip": ip, "port": port});
  return success;
}