connect method

  1. @override
Future<void> connect(
  1. String host, {
  2. int? port,
})
override

Implementation

@override
Future<void> connect(String host, {int? port}) async {
  await methodChannel
      .invokeMethod('connect', {"host": host, "port": port ?? 6466});
}