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
Not all objects are supported as targets for weak references. The WeakReference constructor will reject any object that is not supported as an Expando key.
But, in fact, it doesn't
WeakReference wr =WeakReference<String>("Lily was here"); // No error hereprint(wr.target);
Expando does not work on numbers, strings, booleans, null, dart:ffi pointers, dart:ffi structs, or dart:ffi unions. All of these objects must be rejected by WeakReference constructor