BetterVideoPlayerDataSource.file constructor

BetterVideoPlayerDataSource.file(
  1. String url
)

工厂初始化数据源

Implementation

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