createDatabaseFactoryFfiImpl function

DatabaseFactory createDatabaseFactoryFfiImpl({
  1. SqfliteFfiInit? ffiInit,
})

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);
  });
}