VideoBatchProgress class
How far a batch has come.
- Annotations
Constructors
- VideoBatchProgress({required int total, required int finished, int? currentIndex, VideoProcessingProgress? current, double currentFraction = 0})
-
Creates a progress report.
const
Properties
- current → VideoProcessingProgress?
-
The latest progress of the request being processed, when it has
reported any.
final
- currentFraction → double
-
How far the request being processed has come, 0.0 to 1.0: the highest
fraction it has reported so far. It does not fall back when the request
enters a stage that reports no fraction, or one that counts from zero
again.
final
- currentIndex → int?
-
The index of the request being processed, or null when none is.
final
- finished → int
-
The number of requests that have finished, whatever their outcome.
final
- fraction → double
-
The progress of the whole batch, 0.0 to 1.0, counting every request
equally: finished requests plus currentFraction. It never goes
backwards.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- isDone → bool
-
Whether every request has finished.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- total → int
-
The number of requests in the batch.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited