init method

  1. @override
Future<void> init()
override

Implementation

@override
Future<void> init() async {
  logger.i('Initialized');
  _provider = await _createProvider();
  await Future.wait([
    messages.init(),
    provider.connect(),
    subscriber.init(),
  ]);
  _registerEventListeners();
  _initialized = true;
}