How to pass const char* to dart?

Issue I don’t understand how to pass (…, const char *request) to dart function I used Pointer but there is an error in .asFunction() import ‘dart:ffi’; import ‘dart:io’ show Directory; import ‘package:path/path.dart’ as path; import ‘package:ffi/ffi.dart’; // FFI signature void

Continue reading