WebSchemaVerifier constructor
WebSchemaVerifier(
- CommonSqlite3 sqlite3,
- SchemaInstantiationHelper helper, {
- void setup(
- CommonDatabase raw
Creates a schema verifier for the drift-generated helper
.
See tests for more information.
The optional setup
parameter is used internally by the verifier for
every database connection it opens. This can be used to, for instance,
register custom functions expected by your database.
Implementation
factory WebSchemaVerifier(
CommonSqlite3 sqlite3,
SchemaInstantiationHelper helper, {
void Function(CommonDatabase raw)? setup,
}) = impl.WebSchemaVerifier;