vfs_find method

PtrVfs? vfs_find(
  1. String? zVfsName
)
inherited

Implementation

PtrVfs? vfs_find(String? zVfsName) {
  final zVfsNameMeta = zVfsName?._metaNativeUtf8();
  final ptrZVfsName = zVfsNameMeta?.ptr ?? ffi.nullptr;
  try {
    var result = _h_sqlite3_vfs_find(ptrZVfsName);
    return result == ffi.nullptr ? null : result;
  } finally {
    pkgffi.malloc.free(ptrZVfsName);
  }
}