fraction property
double?
get
fraction
Implementation
double? get fraction => totalBytes == null || totalBytes == 0
? null
: bytesTransferred / totalBytes!;
double? get fraction => totalBytes == null || totalBytes == 0
? null
: bytesTransferred / totalBytes!;