init method

Future<void> init()

Implementation

Future<void> init() async {
  if (!_player.isOpen()) {
    await _player.openPlayer();
  }
}