-
Notifications
You must be signed in to change notification settings - Fork 137
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'String?' is nullable and 'Object' isn't. #67
Comments
这个问题解决了吗
|
要下载源码修改才行,把String? 改为String |
@Peibalam 我把 String? 改了 String 还是会,改成 Object 也会~😓是遗漏了哪一步吗?
|
Thats not really helpful |
Here's the current workaround, can run after modifying |
yes,after i modifying Line 103 from String? to String and delete your .pub-cache un-pub cache. |
There is already a pull request: #85 |
../../../.pub-cache/hosted/pub.flutter-io.cn/unpub-2.0.0/lib/src/app.dart:113:48: Error: The argument type 'String?' can't be assigned to the parameter type 'Object' because 'String?' is nullable and 'Object' isn't.
var server = await shelf_io.serve(handler, host, port);
dart version:Dart SDK version: 2.16.1 (stable) (Tue Feb 8 12:02:33 2022 +0100) on "macos_x64"
The text was updated successfully, but these errors were encountered: