BetterVideoPlayerDataSource.asset constructor

BetterVideoPlayerDataSource.asset(
  1. String url
)

工厂初始化数据源

Implementation

factory BetterVideoPlayerDataSource.asset(String url) {
  return BetterVideoPlayerDataSource(BetterVideoPlayerDataSourceType.asset, url);
}