You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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
The text was updated successfully, but these errors were encountered:
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.
final parsed = css.parse(text);
^
Target kernel_snapshot failed: Exception
need to cover
The text was updated successfully, but these errors were encountered: