init method

dynamic init()

Initializes the agent by setting up message handling and connecting to the server.

Implementation

init() async {
  await connect();
}