Created
March 8, 2020 15:36
-
-
Save merttoptas/b524f9e23c152a7104ffde9e108b9a65 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/StudentDao.dart'; | |
part 'database.g.dart'; | |
//class name: Database Name | |
@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