isPlaying method
Flag which determines whenever player is playing or not.
Implementation
bool? isPlaying() {
if (videoPlayerController == null) {
throw StateError("The data source has not been initialized");
}
return videoPlayerController!.value.isPlaying;
}