Closed MatthaiosSait closed 1 year ago
In https://github.com/dint-dev/universal_html/blob/0ea6592b88b0814edfce0ff10cb9a7159f87f9a6/lib/src/js.dart#L214 the Object is not nullable, whereas in
Object
https://github.com/dart-lang/sdk/blob/234128e8d37d78f4c03405734eba3b05a6691ce5/sdk/lib/js/js.dart#L131
the value is nullable.
As an example, we cannot set the context with this operator, e.g. context['define'] = null;
context['define'] = null;
Thank you for the issue report! This was fixed in 2.1.0.
In https://github.com/dint-dev/universal_html/blob/0ea6592b88b0814edfce0ff10cb9a7159f87f9a6/lib/src/js.dart#L214 the
Object
is not nullable, whereas inhttps://github.com/dart-lang/sdk/blob/234128e8d37d78f4c03405734eba3b05a6691ce5/sdk/lib/js/js.dart#L131
the value is nullable.
As an example, we cannot set the context with this operator, e.g.
context['define'] = null;