createDatabaseFactoryFfiImpl function
Creates an FFI database factory
Implementation
DatabaseFactory createDatabaseFactoryFfiImpl({SqfliteFfiInit? ffiInit}) {
return buildDatabaseFactory(
invokeMethod: (String method, [dynamic arguments]) {
final methodCall = FfiMethodCall(method, arguments);
return methodCall.handleInIsolate(ffiInit: ffiInit);
});
}