Running Gradle task 'assembleProfile'.. ../../../.pub-cache/hosted/pub.dev/dio-5.4.3/lib/src/ form_data.dart:175:54: Error: The argument type 'List <int>' can't be assigned to the parameter type 'Uint8list'.
ShuangZiMoYin opened this issue · 1 comments
ShuangZiMoYin commented
Package
dio
Version
5.4.3+1
Operating-System
Android, iOS
Adapter
Default Dio
Output of flutter doctor -v
No response
Dart Version
No response
Steps to Reproduce
Running Gradle task 'assembleProfile'..
../../../.pub-cache/hosted/pub.dev/dio-5.4.3/lib/src/
form_data.dart:175:54: Error: The argument type 'List
' can't be assigned to the parameter type
'Uint8list'.
- 'list' is from 'dart:core'.
- 'Uint8List' is from 'dart:typed_data'.
void writeAscii(String s) => controller.add(utf8.
encode(s));
./../.pub-cache/hosted/pub.dev/dio-5.4.3/lib/src/
form_data.dart:176:58: Error: The argument type 'List
' can't be assigned to the parameter type
'Uint8list'. - 'list' is from 'dart:core'.
- 'Uint8List' is from 'dart:typed_data'.
void writeUtf8(String string) => controller.add(u
itf8.encode(string));
Expected Result
1
Actual Result
1