connect abstract method

Future<Principal?> connect(
  1. String hubUrl
)

Connects to hubUrl using the saved session for it, making it the active connection. Returns the authenticated principal, or throws on failure.

Implementation

Future<Principal?> connect(String hubUrl);