play method

Future<void> play()

Implementation

Future<void> play() async {
  if (_controller == null) return;
  _applyVolumeState(); // Sync volume exactly before play starts
  await _controller?.play();
}