Bump SDK constraint to >= 2.6.0-dev.8.2
which contains the new API of dart:ffi
.
Replace use of deprecated asExternalTypedData
with asTypedList
.
Incorporate struct API changes, drop type argument of structs.
allocate<T>()
and free()
methods which can be used as a replacement for the deprecated Pointer.allocate<T>()
and Pointer.free()
members in dart:ffi
.