BlockRepository constructor Null safety
- Database db
Builds a BlockRepository that will use db for persistence.
It calls createTable to make sure the table exists.
Implementation
BlockRepository(this.db) {
createTable();
}
Builds a BlockRepository that will use db for persistence.
It calls createTable to make sure the table exists.
BlockRepository(this.db) {
createTable();
}