eta property
Duration?
get
eta
Estimated time left.
Implementation
Duration? get eta => speed <= 0 || total <= 0 ? null : Duration(seconds: ((total - received) / speed).ceil());
Estimated time left.
Duration? get eta => speed <= 0 || total <= 0 ? null : Duration(seconds: ((total - received) / speed).ceil());