pause method
Pauses playback.
Returns a future that completes once the pause request has been issued.
暂停播放。
返回一个在暂停请求发出后完成的 Future。
Implementation
@override
Future<void> pause() async {
calls.add('pause');
if (_script.isNotEmpty) _scriptPlayIntent = false;
}