jaguar-orm/sqflite

WindowOS Error:Could not find a file named "pubspec.yaml" in "C:\Users\admin\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\built_value-6.5.0".

Closed this issue · 1 comments

Once I added the "flutter packages" to the "pub run build_runner build" command the error went away. But no bean code was generated. This the content of my class:
class SystemSettings {
SystemSettings();

//SystemSettings.make();

@PrimaryKey(auto: true)
int _id;

@column(isNullable: true)
int _setup_stage;

@column(isNullable: true)
String _facebook_info;

@column(isNullable: true)
String _twitter_info;
}
The bean code is not being generated. Not sure what I am doing wrong.

Fixed the issue. It was a typo