ProcessTask( {required this.processed, required this.total, required this.state, this.bytes}) { percentage = processed / total; }