Annotation to be used for marking an external function as FFI native.
@Native<Int64 Function(Int64, Int64)>(symbol: 'FfiNative_Sum', isLeaf:true) external int sum(int a, int b);
Calling such functions will throw an exception if no resolver was set on the library or the resolver failed to resolve the name.
NOTE: This experimental feature is replaced by Native.
- @Deprecated('Use Native instead.')