VideoSource class
- Annotations
-
- @JsonSerializable()
Constructors
- VideoSource({required String path, required VideoSourceType type})
- A constructor for use in serialization. NOTE: This constructor is for internal use only. Please use init instead.
-
VideoSource.fromJson(Map<
String, dynamic> json) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- path → String
-
Absolute path to the video source.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → VideoSourceType
-
Type of video source (asset, file, network).
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
init(
{required String path, required VideoSourceType type}) → Future< VideoSource> - Initialize a video source.