endFiles property
Fires once per MPV_EVENT_END_FILE, carrying mpv's own termination
reason. Lets the session-end state machine read the reason directly
instead of inferring it from stop()/dispose()/source-change timing
(2026-09-29 update to §D3). Empty stream when unavailable.
每次 MPV_EVENT_END_FILE 触发一次,带上 mpv 自己的终止原因。让会话结束
状态机能直接读原因,而不必靠 stop()/dispose()/换源的时序去推断
(§D3 的 2026-09-29 更新)。不可用时为空流。
Implementation
@override
Stream<MovaEndFileReason> get endFiles => _endFiles.stream;