connect method Null safety

Future<FuchsiaRemoteConnection> connect()

Creates a connection to the Fuchsia device's Dart VM's.

See FuchsiaRemoteConnection.connect for more details. FuchsiaCompat.cleanup must be called when the connection is no longer in use. It is the caller's responsibility to call FuchsiaRemoteConnection.stop.

Implementation

static Future<FuchsiaRemoteConnection> connect() async {
  FuchsiaCompat._init();
  return FuchsiaRemoteConnection.connectWithSshCommandRunner(
      _DummySshCommandRunner());
}