HaloVideoPlayerDataSource class

Video player data source

Constructors

HaloVideoPlayerDataSource({required String source, bool isNetwork = false, bool isAsset = false, Map<String, String>? httpHeaders})
const
HaloVideoPlayerDataSource.asset(String path)
factory
HaloVideoPlayerDataSource.file(String path)
factory
HaloVideoPlayerDataSource.network(String url, {Map<String, String>? httpHeaders})
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
httpHeaders Map<String, String>?
final
isAsset bool
final
isNetwork bool
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
source 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