import 'dart:ffi'; import 'dart:io'; final DynamicLibrary moneroApi = Platform.isAndroid ? DynamicLibrary.open("libcw_monero.so") : DynamicLibrary.process();