When I receive an Uint8List, PrettyDioLogger prints each element of the list on a single line, which in my opinion for a Uint8List is not really useful since you'll usually get about 10k lines being printed, and the app will slow down until that stops.
Example of what I mean:
With this PR I just wanted to compact the response a little bit, chunkSize was set to 20 after some testing.
Also fixed the List printing [ both at the start, and at the end of the list, instead of ]
Type of Change
[x] โจ New feature (non-breaking change which adds functionality)
[ ] ๐ ๏ธ Bug fix (non-breaking change which fixes an issue)
[ ] โ Breaking change (fix or feature that would cause existing functionality to change)
Description
As mentioned in Compacting ResponseType.bytes ? #25
When I receive an Uint8List, PrettyDioLogger prints each element of the list on a single line, which in my opinion for a Uint8List is not really useful since you'll usually get about 10k lines being printed, and the app will slow down until that stops.
Example of what I mean:
With this PR I just wanted to compact the response a little bit,
chunkSize
was set to 20 after some testing.Also fixed the List printing
[
both at the start, and at the end of the list, instead of]
Type of Change