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