Annotation to be used for marking an external function as FFI native.
Example:
@FfiNative<Int64 Function(Int64, Int64)>('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.
See Dart_SetFfiNativeResolver in dart_api.h
NOTE: This is an experimental feature and may change in the future.
© 2012 the Dart project authors
Licensed under the BSD 3-Clause "New" or "Revised" License.
https://api.dart.dev/stable/2.18.5/dart-ffi/FfiNative-class.html