YoutubeVideoState class
The current state of the Youtube video.
Constructors
- YoutubeVideoState.new({Duration position = Duration.zero, double loadedFraction = 0})
-
Creates a new instance of YoutubeVideoState.
const
- YoutubeVideoState.fromJson(String json)
-
Creates a new instance of YoutubeVideoState from the given
json
.factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- loadedFraction → double
-
The fraction of the video that has been buffered.
final
- position → Duration
-
The current position of the video.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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