TransferPlan class

Constructors

TransferPlan.new({required ByteConverter totalBytes, required DataRate rate, ByteConverter? transferredBytes, Duration? elapsed})

Properties

elapsed Duration
no setter
estimatedTotalDuration Duration?
no setter
hashCode int
The hash code for this object.
no setterinherited
percentComplete double
no setter
progressFraction double
no setter
rate DataRate
final
remainingBytes ByteConverter
no setter
remainingDuration Duration?
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
totalBytes ByteConverter
final
transferredBytes ByteConverter
no setter

Methods

copyWith({ByteConverter? total, DataRate? rate, ByteConverter? transferred, Duration? elapsed}) TransferPlan
etaString({String pending = 'pending', String done = 'done'}) String
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