ngOnInit method

  1. @override
Future<void> ngOnInit()

Executed after the first change detection run for a directive.

See OnInit for a full description.

Implementation

@override
Future<void> ngOnInit() async {
  await provider.init();
  _player = _initPlayer();
}