isPlaying method
Checks if music is currently playing.
Returns true if playing, false otherwise.
Implementation
@override
Future<bool> isPlaying() async {
try {
final bool? result = await _channel.invokeMethod<bool>(
_Methods.isPlaying,
);
return result ?? false;
} catch (e) {
return false;
}
}