copyWith method

ProgressEntity copyWith({
  1. int? uploaded,
  2. int? total,
})

Implementation

ProgressEntity copyWith({int? uploaded, int? total}) =>
    ProgressEntity(uploaded ?? this.uploaded, total ?? this.total);