bytesTotal property
The artifact's size, on the UploadState.transferring line.
The one number this stream can give about the transfer, and it is worth giving on its own: a consumer showing "sending 28 MB" beside a spinner is telling a reader something, where a bar it cannot fill would be telling them something false.
Implementation
final int? bytesTotal;