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();
}