Open
Description
@FfiNative<Handle Function()>('doesntmatter')
external String? doesntmatter();
asFunction
and lookupFunction
do not allow the return type to be sticter than Object
when the native type is Handle
.
The old native
s do allow the return type to be stricter than Object
.
It would be good to update FfiNative
s to be consistent with asFunction
, but that would make them inconsistent with old native
s.