This pragma is used for passing native assets to the VM.
@pragma('vm:ffi:native-assets', {
'format-version': [1, 0, 0],
'native-assets': {
'linux_x64': {
'package:foo/foo.dart': ['absolute', '/path/to/libfoo.so']
}
}
})
library 'vm:native-assets';
Related files: