hasPlayableLocal property

bool get hasPlayableLocal

是否已经有可播放产物(本地 mp4 或本地 m3u8)

Implementation

bool get hasPlayableLocal =>
    (localPath != null && localPath!.isNotEmpty) ||
        (mp4Path != null && mp4Path!.isNotEmpty) ||
        (hlsLocalM3u8Path != null && hlsLocalM3u8Path!.isNotEmpty);