connect method

  1. @override
Future<void> connect (
  1. String server,
  2. int port
)
override

Connect, must be overridden in connection classes

Implementation

@override
Future<void> connect(String server, int port) {
  final completer = Completer<void>();
  return completer.future;
}