A map where if there are no other references to the value, the entry can be garbage collected.
Like with Expando/WeakKeyMap, this does not work with value types of numbers, strings, booleans, records, null, dart:ffi pointers, dart:ffi structs, or dart:ffi unions.
If you want to use these types, wrap them in a Wrapper.
A map where if there are no other references to the key, the entry can be garbage collected.
Does not work with value types of numbers, strings, booleans, records, null, dart:ffi pointers, dart:ffi structs, or dart:ffi unions.
If you want to use these types, wrap them in a Wrapper.