Created
March 13, 2020 19:22
-
-
Save merttoptas/7a79df0c7a04663c15eebc94c2f70854 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'dart:async'; | |
import 'package:floor/floor.dart'; | |
import 'package:path/path.dart'; | |
import 'package:sqflite/sqflite.dart' as sqflite; | |
import 'package:floor_example/model/Student.dart'; | |
import 'package:floor_example/db/dao/StudentDao.dart'; | |
part 'database.g.dart'; // the generated code will be there | |
@Database(version: 1, entities: [Student]) | |
abstract class StudentDatabase extends FloorDatabase { | |
StudentDao get studentDao; | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment