I am unable to initialise the package at all, I am wondering what the problem is?
import 'package:sqfentity/sqfentity.dart';
import 'package:sqfentity_gen/sqfentity_gen.dart';
final bundledDbModel = await convertDatabaseToModelBase(
databaseName: 'organise.db', bundledDatabasePath: 'assets/organise.sqlite');
final String modelConstString =
SqfEntityConverter(bundledDbModel).createConstDatabase();
//await Clipboard.setData(ClipboardData(text: modelConstString));
Compiler message:
../../../Andy/development/flutter/.pub-cache/hosted/pub.dartlang.org/sqfentity-1.1.1/lib/sqfen
tity.dart:33:33: Error: Type 'SqfEntityModelBase' not found.
class SqfEntityProvider extends SqfEntityModelBase {
^^^^^^^^^^^^^^^^^^
../../../Andy/development/flutter/.pub-cache/hosted/pub.dartlang.org/sqfentity-1.1.1/lib/sqfen
tity.dart:105:10: Error: Type 'BoolResult' not found.
Future<BoolResult> execSQL(String pSql, [List<dynamic> arguments]) async {
^^^^^^^^^^
../../../Andy/development/flutter/.pub-cache/hosted/pub.dartlang.org/sqfentity-1.1.1/lib/sqfen
tity.dart:120:10: Error: Type 'BoolResult' not found.
Future<BoolResult> execSQLList(List<String> pSql) async {
^^^^^^^^^^
../../../Andy/development/flutter/.pub-cache/hosted/pub.dartlang.org/sqfentity-1.1.1/lib/sqfen
tity.dart:164:23: Error: Type 'QueryParams' not found.
Future<List> toList(QueryParams params) async {
^^^^^^^^^^^
../../../Andy/development/flutter/.pub-cache/hosted/pub.dartlang.org/sqfentity-1.1.1/lib/sqfen
tity.dart:197:10: Error: Type 'BoolResult' not found.
Future<BoolResult> delete(QueryParams params) async {
^^^^^^^^^^
../../../Andy/development/flutter/.pub-cache/hosted/pub.dartlang.org/sqfentity-1.1.1/lib/sqfen
tity.dart:197:29: Error: Type 'QueryParams' not found.
Future<BoolResult> delete(QueryParams params) async {
^^^^^^^^^^^
../../../Andy/development/flutter/.pub-cache/hosted/pub.dartlang.org/sqfentity-1.1.1/lib/sqfen
tity.dart:211:10: Error: Type 'BoolResult' not found.
Future<BoolResult> updateBatch(
^^^^^^^^^^
../../../Andy/development/flutter/.pub-cache/hosted/pub.dartlang.org/sqfentity-1.1.1/lib/sqfen
tity.dart:212:7: Error: Type 'QueryParams' not found.
QueryParams params, Map<String, dynamic> values) async {
^^^^^^^^^^^
../../../Andy/development/flutter/.pub-cache/hosted/pub.dartlang.org/sqfentity-1.1.1/lib/sqfen
tity.dart:247:15: Error: Type 'BoolResult' not found.
Future<List<BoolResult>> rawInsertAll(
^^^^^^^^^^
../../../Andy/development/flutter/.pub-cache/hosted/pub.dartlang.org/sqfentity-1.1.1/lib/sqfen
tity.dart:268:15: Error: Type 'BoolResult' not found.
Future<List<BoolResult>> saveAll(String pSql, List T) async {
^^^^^^^^^^
../../../Andy/development/flutter/.pub-cache/hosted/pub.dartlang.org/sqfentity-1.1.1/lib/sqfen
tity.dart:299:24: Error: Type 'SqfEntitySequenceBase' not found.
Future<int> sequence(SqfEntitySequenceBase seq, bool increase,
^^^^^^^^^^^^^^^^^^^^^
../../../Andy/development/flutter/.pub-cache/hosted/pub.dartlang.org/sqfentity-1.1.1/lib/sqfen
tity.dart:331:47: Error: Type 'SqfEntityModelBase' not found.
abstract class SqfEntityModelProvider extends SqfEntityModelBase {
^^^^^^^^^^^^^^^^^^
../../../Andy/development/flutter/.pub-cache/hosted/pub.dartlang.org/sqfentity-1.1.1/lib/sqfen
tity.dart:445:10: Error: Type 'BoolResult' not found.
Future<BoolResult> execSQL(String sql, [List<dynamic> arguments]) async {
^^^^^^^^^^
../../../Andy/development/flutter/.pub-cache/hosted/pub.dartlang.org/sqfentity-1.1.1/lib/sqfen
tity.dart:450:10: Error: Type 'BoolResult' not found.
Future<BoolResult> execSQLList(List<String> sql) async {
^^^^^^^^^^
../../../Andy/development/flutter/.pub-cache/hosted/pub.dartlang.org/sqfentity-1.1.1/lib/sqfen
tity.dart:466:35: Error: Type 'SqfEntityTableBase' not found.
bool checkForIsReadyDatabase(List<SqfEntityTableBase> dbTables) {
^^^^^^^^^^^^^^^^^^
../../../Andy/development/flutter/.pub-cache/hosted/pub.dartlang.org/sqfentity-1.1.1/lib/sqfen
tity.dart:475:32: Error: Type 'SqfEntityTableBase' not found.
List<String> checkTableIndexes(SqfEntityTableBase table) {
^^^^^^^^^^^^^^^^^^
../../../Andy/development/flutter/.pub-cache/hosted/pub.dartlang.org/sqfentity-1.1.1/lib/sqfen
tity.dart:487:5: Error: Type 'SqfEntityTableBase' not found.
SqfEntityTableBase table, List<TableField> exitingDBfields) {
^^^^^^^^^^^^^^^^^^
../../../Andy/development/flutter/.pub-cache/hosted/pub.dartlang.org/sqfentity-1.1.1/lib/sqfen
tity.dart:487:36: Error: Type 'TableField' not found.
SqfEntityTableBase table, List<TableField> exitingDBfields) {
^^^^^^^^^^
../../../Andy/development/flutter/.pub-cache/hosted/pub.dartlang.org/sqfentity-1.1.1/lib/sqfen
tity.dart:522:8: Error: Type 'SqfEntityModelBase' not found.
Future<SqfEntityModelBase> convertDatabaseToModelBase(
^^^^^^^^^^^^^^^^^^
../../../Andy/development/flutter/.pub-cache/hosted/pub.dartlang.org/sqfentity-1.1.1/lib/sqfen
tity.dart:106:11: Error: 'BoolResult' isn't a type.
final BoolResult result = BoolResult();
^^^^^^^^^^
../../../Andy/development/flutter/.pub-cache/hosted/pub.dartlang.org/sqfentity-1.1.1/lib/sqfen
tity.dart:106:31: Error: Method not found: 'BoolResult'.
final BoolResult result = BoolResult();
^^^^^^^^^^
../../../Andy/development/flutter/.pub-cache/hosted/pub.dartlang.org/sqfentity-1.1.1/lib/sqfen
tity.dart:106:31: Error: The method 'BoolResult' isn't defined for the class
'SqfEntityProvider'.
- 'SqfEntityProvider' is from 'package:sqfentity/sqfentity.dart'
('../../../Andy/development/flutter/.pub-cache/hosted/pub.dartlang.org/sqfentity-1.1.1/lib/sq
fentity.dart').
Try correcting the name to the name of an existing method, or defining a method named
'BoolResult'.
final BoolResult result = BoolResult();
^^^^^^^^^^
../../../Andy/development/flutter/.pub-cache/hosted/pub.dartlang.org/sqfentity-1.1.1/lib/sqfen
tity.dart:122:20: Error: Method not found: 'BoolResult'.
final result = BoolResult(success: false);
^^^^^^^^^^
../../../Andy/development/flutter/.pub-cache/hosted/pub.dartlang.org/sqfentity-1.1.1/lib/sqfen
tity.dart:122:20: Error: The method 'BoolResult' isn't defined for the class
'SqfEntityProvider'.
- 'SqfEntityProvider' is from 'package:sqfentity/sqfentity.dart'
('../../../Andy/development/flutter/.pub-cache/hosted/pub.dartlang.org/sqfentity-1.1.1/lib/sq
fentity.dart').
Try correcting the name to the name of an existing method, or defining a method named
'BoolResult'.
final result = BoolResult(success: false);
^^^^^^^^^^
../../../Andy/development/flutter/.pub-cache/hosted/pub.dartlang.org/sqfentity-1.1.1/lib/sqfen
tity.dart:164:23: Error: 'QueryParams' isn't a type.
Future<List> toList(QueryParams params) async {
^^^^^^^^^^^
../../../Andy/development/flutter/.pub-cache/hosted/pub.dartlang.org/sqfentity-1.1.1/lib/sqfen
tity.dart:197:29: Error: 'QueryParams' isn't a type.
Future<BoolResult> delete(QueryParams params) async {
^^^^^^^^^^^
../../../Andy/development/flutter/.pub-cache/hosted/pub.dartlang.org/sqfentity-1.1.1/lib/sqfen
tity.dart:198:20: Error: Method not found: 'BoolResult'.
final result = BoolResult();
^^^^^^^^^^
../../../Andy/development/flutter/.pub-cache/hosted/pub.dartlang.org/sqfentity-1.1.1/lib/sqfen
tity.dart:198:20: Error: The method 'BoolResult' isn't defined for the class
'SqfEntityProvider'.
- 'SqfEntityProvider' is from 'package:sqfentity/sqfentity.dart'
('../../../Andy/development/flutter/.pub-cache/hosted/pub.dartlang.org/sqfentity-1.1.1/lib/sq
fentity.dart').
Try correcting the name to the name of an existing method, or defining a method named
'BoolResult'.
final result = BoolResult();
^^^^^^^^^^
../../../Andy/development/flutter/.pub-cache/hosted/pub.dartlang.org/sqfentity-1.1.1/lib/sqfen
tity.dart:212:7: Error: 'QueryParams' isn't a type.
QueryParams params, Map<String, dynamic> values) async {
^^^^^^^^^^^
../../../Andy/development/flutter/.pub-cache/hosted/pub.dartlang.org/sqfentity-1.1.1/lib/sqfen
tity.dart:213:20: Error: Method not found: 'BoolResult'.
final result = BoolResult();
^^^^^^^^^^
../../../Andy/development/flutter/.pub-cache/hosted/pub.dartlang.org/sqfentity-1.1.1/lib/sqfen
tity.dart:213:20: Error: The method 'BoolResult' isn't defined for the class
'SqfEntityProvider'.
- 'SqfEntityProvider' is from 'package:sqfentity/sqfentity.dart'
('../../../Andy/development/flutter/.pub-cache/hosted/pub.dartlang.org/sqfentity-1.1.1/lib/sq
fentity.dart').
Try correcting the name to the name of an existing method, or defining a method named
'BoolResult'.
final result = BoolResult();
^^^^^^^^^^
../../../Andy/development/flutter/.pub-cache/hosted/pub.dartlang.org/sqfentity-1.1.1/lib/sqfen
tity.dart:249:26: Error: 'BoolResult' isn't a type.
final results = List<BoolResult>();
^^^^^^^^^^
../../../Andy/development/flutter/.pub-cache/hosted/pub.dartlang.org/sqfentity-1.1.1/lib/sqfen
tity.dart:252:22: Error: Method not found: 'BoolResult'.
final result = BoolResult();
^^^^^^^^^^
../../../Andy/development/flutter/.pub-cache/hosted/pub.dartlang.org/sqfentity-1.1.1/lib/sqfen
tity.dart:252:22: Error: The method 'BoolResult' isn't defined for the class
'SqfEntityProvider'.
- 'SqfEntityProvider' is from 'package:sqfentity/sqfentity.dart'
('../../../Andy/development/flutter/.pub-cache/hosted/pub.dartlang.org/sqfentity-1.1.1/lib/sq
fentity.dart').
Try correcting the name to the name of an existing method, or defining a method named
'BoolResult'.
final result = BoolResult();
^^^^^^^^^^
../../../Andy/development/flutter/.pub-cache/hosted/pub.dartlang.org/sqfentity-1.1.1/lib/sqfen
tity.dart:269:26: Error: 'BoolResult' isn't a type.
final results = List<BoolResult>();
^^^^^^^^^^
../../../Andy/development/flutter/.pub-cache/hosted/pub.dartlang.org/sqfentity-1.1.1/lib/sqfen
tity.dart:272:22: Error: Method not found: 'BoolResult'.
final result = BoolResult(success: false);
^^^^^^^^^^
../../../Andy/development/flutter/.pub-cache/hosted/pub.dartlang.org/sqfentity-1.1.1/lib/sqfen
tity.dart:272:22: Error: The method 'BoolResult' isn't defined for the class
'SqfEntityProvider'.
- 'SqfEntityProvider' is from 'package:sqfentity/sqfentity.dart'
('../../../Andy/development/flutter/.pub-cache/hosted/pub.dartlang.org/sqfentity-1.1.1/lib/sq
fentity.dart').
Try correcting the name to the name of an existing method, or defining a method named
'BoolResult'.
final result = BoolResult(success: false);
^^^^^^^^^^
../../../Andy/development/flutter/.pub-cache/hosted/pub.dartlang.org/sqfentity-1.1.1/lib/sqfen
tity.dart:299:24: Error: 'SqfEntitySequenceBase' isn't a type.
Future<int> sequence(SqfEntitySequenceBase seq, bool increase,
^^^^^^^^^^^^^^^^^^^^^
../../../Andy/development/flutter/.pub-cache/hosted/pub.dartlang.org/sqfentity-1.1.1/lib/sqfen
tity.dart:333:22: Error: Getter not found: 'databaseTables'.
databaseTables = databaseTables ?? [];
^^^^^^^^^^^^^^
../../../Andy/development/flutter/.pub-cache/hosted/pub.dartlang.org/sqfentity-1.1.1/lib/sqfen
tity.dart:333:5: Error: Setter not found: 'databaseTables'.
databaseTables = databaseTables ?? [];
^^^^^^^^^^^^^^
../../../Andy/development/flutter/.pub-cache/hosted/pub.dartlang.org/sqfentity-1.1.1/lib/sqfen
tity.dart:334:17: Error: Getter not found: 'sequences'.
sequences = sequences ?? [];
^^^^^^^^^
../../../Andy/development/flutter/.pub-cache/hosted/pub.dartlang.org/sqfentity-1.1.1/lib/sqfen
tity.dart:334:5: Error: Setter not found: 'sequences'.
sequences = sequences ?? [];
^^^^^^^^^
../../../Andy/development/flutter/.pub-cache/hosted/pub.dartlang.org/sqfentity-1.1.1/lib/sqfen
tity.dart:335:25: Error: Getter not found: 'sequences'.
final dbSequences = sequences.where((i) => !i.initialized).toList();
^^^^^^^^^
../../../Andy/development/flutter/.pub-cache/hosted/pub.dartlang.org/sqfentity-1.1.1/lib/sqfen
tity.dart:343:12: Error: 'SqfEntitySequenceBase' isn't a type.
for (SqfEntitySequenceBase sequence in dbSequences) {
^^^^^^^^^^^^^^^^^^^^^
../../../Andy/development/flutter/.pub-cache/hosted/pub.dartlang.org/sqfentity-1.1.1/lib/sqfen
tity.dart:357:22: Error: Getter not found: 'databaseTables'.
final dbTables = databaseTables.where((i) => !i.initialized).toList();
^^^^^^^^^^^^^^
../../../Andy/development/flutter/.pub-cache/hosted/pub.dartlang.org/sqfentity-1.1.1/lib/sqfen
tity.dart:360:12: Error: 'SqfEntityTableBase' isn't a type.
for (SqfEntityTableBase table in dbTables) {
^^^^^^^^^^^^^^^^^^
../../../Andy/development/flutter/.pub-cache/hosted/pub.dartlang.org/sqfentity-1.1.1/lib/sqfen
tity.dart:364:20: Error: 'TableField' isn't a type.
final List<TableField> exitingDBfields = List<TableField>();
^^^^^^^^^^
../../../Andy/development/flutter/.pub-cache/hosted/pub.dartlang.org/sqfentity-1.1.1/lib/sqfen
tity.dart:364:55: Error: 'TableField' isn't a type.
final List<TableField> exitingDBfields = List<TableField>();
^^^^^^^^^^
../../../Andy/development/flutter/.pub-cache/hosted/pub.dartlang.org/sqfentity-1.1.1/lib/sqfen
tity.dart:380:17: Error: Method not found: 'parseDbType'.
parseDbType(tableFields[i]['type'].toString())));
^^^^^^^^^^^
../../../Andy/development/flutter/.pub-cache/hosted/pub.dartlang.org/sqfentity-1.1.1/lib/sqfen
tity.dart:379:33: Error: Method not found: 'TableField'.
exitingDBfields.add(TableField(tableFields[i]['name'].toString(),
^^^^^^^^^^
../../../Andy/development/flutter/.pub-cache/hosted/pub.dartlang.org/sqfentity-1.1.1/lib/sqfen
tity.dart:333:5: Error: The setter 'databaseTables' isn't defined for the class
'SqfEntityModelProvider'.
- 'SqfEntityModelProvider' is from 'package:sqfentity/sqfentity.dart'
('../../../Andy/development/flutter/.pub-cache/hosted/pub.dartlang.org/sqfentity-1.1.1/lib/sq
fentity.dart').
Try correcting the name to the name of an existing setter, or defining a setter or field named
'databaseTables'.
databaseTables = databaseTables ?? [];
^^^^^^^^^^^^^^
../../../Andy/development/flutter/.pub-cache/hosted/pub.dartlang.org/sqfentity-1.1.1/lib/sqfen
tity.dart:333:22: Error: The getter 'databaseTables' isn't defined for the class
'SqfEntityModelProvider'.
- 'SqfEntityModelProvider' is from 'package:sqfentity/sqfentity.dart'
('../../../Andy/development/flutter/.pub-cache/hosted/pub.dartlang.org/sqfentity-1.1.1/lib/sq
fentity.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named
'databaseTables'.
databaseTables = databaseTables ?? [];
^^^^^^^^^^^^^^
../../../Andy/development/flutter/.pub-cache/hosted/pub.dartlang.org/sqfentity-1.1.1/lib/sqfen
tity.dart:334:5: Error: The setter 'sequences' isn't defined for the class
'SqfEntityModelProvider'.
- 'SqfEntityModelProvider' is from 'package:sqfentity/sqfentity.dart'
('../../../Andy/development/flutter/.pub-cache/hosted/pub.dartlang.org/sqfentity-1.1.1/lib/sq
fentity.dart').
Try correcting the name to the name of an existing setter, or defining a setter or field named
'sequences'.
sequences = sequences ?? [];
^^^^^^^^^
../../../Andy/development/flutter/.pub-cache/hosted/pub.dartlang.org/sqfentity-1.1.1/lib/sqfen
tity.dart:334:17: Error: The getter 'sequences' isn't defined for the class
'SqfEntityModelProvider'.
- 'SqfEntityModelProvider' is from 'package:sqfentity/sqfentity.dart'
('../../../Andy/development/flutter/.pub-cache/hosted/pub.dartlang.org/sqfentity-1.1.1/lib/sq
fentity.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named
'sequences'.
sequences = sequences ?? [];
^^^^^^^^^
../../../Andy/development/flutter/.pub-cache/hosted/pub.dartlang.org/sqfentity-1.1.1/lib/sqfen
tity.dart:335:25: Error: The getter 'sequences' isn't defined for the class
'SqfEntityModelProvider'.
- 'SqfEntityModelProvider' is from 'package:sqfentity/sqfentity.dart'
('../../../Andy/development/flutter/.pub-cache/hosted/pub.dartlang.org/sqfentity-1.1.1/lib/sq
fentity.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named
'sequences'.
final dbSequences = sequences.where((i) => !i.initialized).toList();
^^^^^^^^^
../../../Andy/development/flutter/.pub-cache/hosted/pub.dartlang.org/sqfentity-1.1.1/lib/sqfen
tity.dart:357:22: Error: The getter 'databaseTables' isn't defined for the class
'SqfEntityModelProvider'.
- 'SqfEntityModelProvider' is from 'package:sqfentity/sqfentity.dart'
('../../../Andy/development/flutter/.pub-cache/hosted/pub.dartlang.org/sqfentity-1.1.1/lib/sq
fentity.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named
'databaseTables'.
final dbTables = databaseTables.where((i) => !i.initialized).toList();
^^^^^^^^^^^^^^
../../../Andy/development/flutter/.pub-cache/hosted/pub.dartlang.org/sqfentity-1.1.1/lib/sqfen
tity.dart:379:33: Error: The method 'TableField' isn't defined for the class
'SqfEntityModelProvider'.
- 'SqfEntityModelProvider' is from 'package:sqfentity/sqfentity.dart'
('../../../Andy/development/flutter/.pub-cache/hosted/pub.dartlang.org/sqfentity-1.1.1/lib/sq
fentity.dart').
Try correcting the name to the name of an existing method, or defining a method named
'TableField'.
exitingDBfields.add(TableField(tableFields[i]['name'].toString(),
^^^^^^^^^^
../../../Andy/development/flutter/.pub-cache/hosted/pub.dartlang.org/sqfentity-1.1.1/lib/sqfen
tity.dart:380:17: Error: The method 'parseDbType' isn't defined for the class
'SqfEntityModelProvider'.
- 'SqfEntityModelProvider' is from 'package:sqfentity/sqfentity.dart'
('../../../Andy/development/flutter/.pub-cache/hosted/pub.dartlang.org/sqfentity-1.1.1/lib/sq
fentity.dart').
Try correcting the name to the name of an existing method, or defining a method named
'parseDbType'.
parseDbType(tableFields[i]['type'].toString())));
^^^^^^^^^^^
../../../Andy/development/flutter/.pub-cache/hosted/pub.dartlang.org/sqfentity-1.1.1/lib/sqfen
tity.dart:466:35: Error: 'SqfEntityTableBase' isn't a type.
bool checkForIsReadyDatabase(List<SqfEntityTableBase> dbTables) {
^^^^^^^^^^^^^^^^^^
../../../Andy/development/flutter/.pub-cache/hosted/pub.dartlang.org/sqfentity-1.1.1/lib/sqfen
tity.dart:475:32: Error: 'SqfEntityTableBase' isn't a type.
List<String> checkTableIndexes(SqfEntityTableBase table) {
^^^^^^^^^^^^^^^^^^
../../../Andy/development/flutter/.pub-cache/hosted/pub.dartlang.org/sqfentity-1.1.1/lib/sqfen
tity.dart:477:8: Error: 'SqfEntityFieldType' isn't a type.
for (SqfEntityFieldType field in table.fields) {
^^^^^^^^^^^^^^^^^^
../../../Andy/development/flutter/.pub-cache/hosted/pub.dartlang.org/sqfentity-1.1.1/lib/sqfen
tity.dart:478:18: Error: 'SqfEntityFieldRelationshipBase' isn't a type.
if (field is SqfEntityFieldRelationshipBase) {
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../../../Andy/development/flutter/.pub-cache/hosted/pub.dartlang.org/sqfentity-1.1.1/lib/sqfen
tity.dart:487:5: Error: 'SqfEntityTableBase' isn't a type.
SqfEntityTableBase table, List<TableField> exitingDBfields) {
^^^^^^^^^^^^^^^^^^
../../../Andy/development/flutter/.pub-cache/hosted/pub.dartlang.org/sqfentity-1.1.1/lib/sqfen
tity.dart:487:36: Error: 'TableField' isn't a type.
SqfEntityTableBase table, List<TableField> exitingDBfields) {
^^^^^^^^^^
../../../Andy/development/flutter/.pub-cache/hosted/pub.dartlang.org/sqfentity-1.1.1/lib/sqfen
tity.dart:494:32: Error: Getter not found: 'DbType'.
if (!(newField.dbType == DbType.bool &&
^^^^^^
../../../Andy/development/flutter/.pub-cache/hosted/pub.dartlang.org/sqfentity-1.1.1/lib/sqfen
tity.dart:495:47: Error: Getter not found: 'DbType'.
eField.toList()[0].fieldType == DbType.numeric) &&
^^^^^^
../../../Andy/development/flutter/.pub-cache/hosted/pub.dartlang.org/sqfentity-1.1.1/lib/sqfen
tity.dart:504:32: Error: Getter not found: 'DbType'.
if (newField.dbType == DbType.text &&
^^^^^^
../../../Andy/development/flutter/.pub-cache/hosted/pub.dartlang.org/sqfentity-1.1.1/lib/sqfen
tity.dart:511:23: Error: 'SqfEntityFieldRelationshipBase' isn't a type.
if (newField is SqfEntityFieldRelationshipBase) {
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../../../Andy/development/flutter/.pub-cache/hosted/pub.dartlang.org/sqfentity-1.1.1/lib/sqfen
tity.dart:536:23: Error: 'SqfEntityTableBase' isn't a type.
final tables = List<SqfEntityTableBase>();
^^^^^^^^^^^^^^^^^^
../../../Andy/development/flutter/.pub-cache/hosted/pub.dartlang.org/sqfentity-1.1.1/lib/sqfen
tity.dart:548:34: Error: 'SqfEntityFieldType' isn't a type.
final exitingDBfields = List<SqfEntityFieldType>();
^^^^^^^^^^^^^^^^^^
../../../Andy/development/flutter/.pub-cache/hosted/pub.dartlang.org/sqfentity-1.1.1/lib/sqfen
tity.dart:563:13: Error: Method not found: 'parseDbType'.
parseDbType(tableFields[i]['type'].toString())));
^^^^^^^^^^^
../../../Andy/development/flutter/.pub-cache/hosted/pub.dartlang.org/sqfentity-1.1.1/lib/sqfen
tity.dart:561:29: Error: Method not found: 'SqfEntityFieldBase'.
exitingDBfields.add(SqfEntityFieldBase(
^^^^^^^^^^^^^^^^^^
../../../Andy/development/flutter/.pub-cache/hosted/pub.dartlang.org/sqfentity-1.1.1/lib/sqfen
tity.dart:566:16: Error: Method not found: 'SqfEntityTableBase'.
tables.add(SqfEntityTableBase()
^^^^^^^^^^^^^^^^^^
../../../Andy/development/flutter/.pub-cache/hosted/pub.dartlang.org/sqfentity-1.1.1/lib/sqfen
tity.dart:568:21: Error: Method not found: 'toCamelCase'.
..modelName = toCamelCase(tableName)
^^^^^^^^^^^
../../../Andy/development/flutter/.pub-cache/hosted/pub.dartlang.org/sqfentity-1.1.1/lib/sqfen
tity.dart:571:13: Error: Getter not found: 'PrimaryKeyType'.
? PrimaryKeyType.integer_auto_incremental
^^^^^^^^^^^^^^
../../../Andy/development/flutter/.pub-cache/hosted/pub.dartlang.org/sqfentity-1.1.1/lib/sqfen
tity.dart:572:13: Error: Getter not found: 'PrimaryKeyType'.
: PrimaryKeyType.integer_unique
^^^^^^^^^^^^^^
../../../Andy/development/flutter/.pub-cache/hosted/pub.dartlang.org/sqfentity-1.1.1/lib/sqfen
tity.dart:581:30: Error: Getter not found: 'DbType'.
(field.dbType == DbType.integer ||
^^^^^^
../../../Andy/development/flutter/.pub-cache/hosted/pub.dartlang.org/sqfentity-1.1.1/lib/sqfen
tity.dart:582:33: Error: Getter not found: 'DbType'.
field.dbType == DbType.numeric)) {
^^^^^^
../../../Andy/development/flutter/.pub-cache/hosted/pub.dartlang.org/sqfentity-1.1.1/lib/sqfen
tity.dart:586:75: Error: Getter not found: 'DeleteRule'.
table.fields.add(SqfEntityFieldRelationshipBase(parentTable,DeleteRule.NO_ACTION
)
^^^^^^^^^^
../../../Andy/development/flutter/.pub-cache/hosted/pub.dartlang.org/sqfentity-1.1.1/lib/sqfen
tity.dart:586:32: Error: Method not found: 'SqfEntityFieldRelationshipBase'.
table.fields.add(SqfEntityFieldRelationshipBase(parentTable,DeleteRule.NO_ACTION
)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../../../Andy/development/flutter/.pub-cache/hosted/pub.dartlang.org/sqfentity-1.1.1/lib/sqfen
tity.dart:597:10: Error: Method not found: 'ConvertedModel'.
return ConvertedModel()
^^^^^^^^^^^^^^
../../../Andy/development/flutter/.pub-cache/hosted/pub.dartlang.org/sqfentity-1.1.1/lib/sqfen
tity.dart:599:19: Error: Method not found: 'toModelName'.
..modelName = toModelName(databaseName.replaceAll('.', ''), null)
^^^^^^^^^^^
../../../Andy/development/flutter/.pub-cache/hosted/pub.dartlang.org/sqfentity-1.1.1/lib/sqfen
tity.dart:525:7: Error: The setter 'bundledDatabasePath' isn't defined for the class
'BundledModelBase'.
- 'BundledModelBase' is from 'package:sqfentity/sqfentity.dart'
('../../../Andy/development/flutter/.pub-cache/hosted/pub.dartlang.org/sqfentity-1.1.1/lib/sq
fentity.dart').
Try correcting the name to the name of an existing setter, or defining a setter or field named
'bundledDatabasePath'.
..bundledDatabasePath = bundledDatabasePath
^^^^^^^^^^^^^^^^^^^
../../../Andy/development/flutter/.pub-cache/hosted/pub.dartlang.org/sqfentity-1.1.1/lib/sqfen
tity.dart:526:7: Error: The setter 'databaseName' isn't defined for the class
'BundledModelBase'.
- 'BundledModelBase' is from 'package:sqfentity/sqfentity.dart'
('../../../Andy/development/flutter/.pub-cache/hosted/pub.dartlang.org/sqfentity-1.1.1/lib/sq
fentity.dart').
Try correcting the name to the name of an existing setter, or defining a setter or field named
'databaseName'.
..databaseName = databaseName;