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