Meshagent constructor

Meshagent({
  1. required String baseUrl,
  2. required String token,
})

Creates an instance of Meshagent.

baseUrl is the root URL of your server, e.g. 'http://localhost:8080'. token is your Bearer token for authorization.

Implementation

Meshagent({required this.baseUrl, required this.token});