delete method
Delete the model
Implementation
Future<void> delete() async {
if (primaryKey == null) {
throw StateError('Cannot delete a model without a primary key');
}
await (database.delete(table)
..where((tbl) => _primaryKeyEquals(tbl, primaryKey)))
.go();
}