ProgressEntity class

An object that represents progress data

Constructors

ProgressEntity(int uploaded, int total)
const
ProgressEntity.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited
total int
total size in bytes
final
uploaded int
uploaded size in bytes
final
value double
returns 0..1 double
no setter

Methods

copyWith({int? uploaded, int? total}) ProgressEntity
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