YPlayerStateCallback typedef
YPlayerStateCallback =
void Function(YPlayerStatus status)
Callback signature for when the player's status changes.
Implementation
typedef YPlayerStateCallback = void Function(YPlayerStatus status);