dartApiDlForwarderContent function
Returns the content for a src/dart_api_dl.c forwarder file that includes
the real dart_api_dl.c from nitroNativePath.
Implementation
String dartApiDlForwarderContent(String nitroNativePath) {
final includePath = p.join(nitroNativePath, 'dart_api_dl.c').replaceAll(r'\', '/');
return '// Generated by nitrogen link — do not edit.\n'
'// Compiled as C (not C++) so the void*/function-pointer casts\n'
'// in dart_api_dl.c are accepted by the compiler.\n'
'#include "$includePath"\n';
}