init method

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

Implementation

@override
Future<void> init() async {
  if (!_initialized) {
    logger.i('Initialized');
    await _restart();
    _registerEventListeners();
    _onEnable();
  }
}