ImageChunkEvent constructor
Creates a new chunk event.
Implementation
const ImageChunkEvent({required this.cumulativeBytesLoaded, required this.expectedTotalBytes})
: assert(cumulativeBytesLoaded >= 0),
assert(expectedTotalBytes == null || expectedTotalBytes >= 0);