isPlaying static method
Check if playing
Implementation
static Future<bool> isPlaying() async {
try {
final playing = await _methodChannel.invokeMethod('isPlaying');
return playing as bool? ?? false;
} catch (e) {
print('AudioPlayerPlatform.isPlaying error: $e');
return false;
}
}