fromPointer method Null safety

Database fromPointer(
  1. Pointer<void> database
)

Creates a Database from an opened sqlite3 database connection.

The database must be a pointer towards an open sqlite3 database connection handle.

Implementation

Database fromPointer(Pointer<void> database) {
  return DatabaseImpl(_bindings, database.cast());
}