BetterVideoPlayerDataSource class
Constructors
- BetterVideoPlayerDataSource(BetterVideoPlayerDataSourceType type, String url)
-
const
- BetterVideoPlayerDataSource.asset(String url)
-
工厂初始化数据源
factory
- BetterVideoPlayerDataSource.file(String url)
-
工厂初始化数据源
factory
- BetterVideoPlayerDataSource.network(String url)
-
工厂初始化数据源
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → BetterVideoPlayerDataSourceType
-
数据类型
final
- url → String
-
链接
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited