Skip to content
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

Error: The argument type 'String?' can't be assigned to the parameter type 'Object' because 'String?' is nullable and 'Object' isn't. in final parsed = css.parse(text); #101

Open
zhangjingfang7 opened this issue Jul 26, 2024 · 0 comments

Comments

@zhangjingfang7
Copy link

at class universal_html-2.2.4/lib/src/html/dom/element_subclasses.dart in 2757 rows exist problem:
final text = this.text;
final parsed = css.parse(text as String);

Error: The argument type 'String?' can't be assigned to the parameter type 'Object' because 'String?' is
nullable and 'Object' isn't.

  • 'Object' is from 'dart:core'.
    final parsed = css.parse(text);
    ^
    Target kernel_snapshot failed: Exception

need to cover

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant