init method

Future<void> init(
  1. String hubbleUrl,
  2. int hubblePort,
  3. ChannelCredentials? channelCredentials
)

Implementation

Future<void> init(
  String hubbleUrl,
  int hubblePort,
  ChannelCredentials? channelCredentials,
) async {
  _hubService = HubService();
  _adminService = AdminService();
  await _hubService.init(hubbleUrl, hubblePort, channelCredentials);
  await _adminService.init(hubbleUrl, hubblePort, channelCredentials);
}