Closed thecarry98 closed 1 year ago
So use response.get cannot get the file if this is too long, but i just fix them. Current code:
final bytes = response.single;
New Code:
final List<int> bytes = await response.toList().then( (value) => value.expand((list) => list).toList(), );
Solved with #8, thanks @thecarry98
So use response.get cannot get the file if this is too long, but i just fix them. Current code:
final bytes = response.single;
New Code: