error in my code #666
Unanswered
navidanchitrali
asked this question in
Q&A
Replies: 1 comment
-
There is no such definition. Try:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello sir!
When i run the funtions i get an error saying, 'Undefined name factory', please help!
// First version of the database
db = await factory.openDatabase(path,
options: OpenDatabaseOptions(
version: 1,
onCreate: (db, version) async {
var batch = db.batch();
_createTableCompanyV1(batch);
await batch.commit();
Beta Was this translation helpful? Give feedback.
All reactions