findById method
Implementation
Future<ProjectData?> findById(int projectId) async {
return await (db.select(
db.project,
)..where((e) => e.id.equals(projectId))).getSingleOrNull();
}
Future<ProjectData?> findById(int projectId) async {
return await (db.select(
db.project,
)..where((e) => e.id.equals(projectId))).getSingleOrNull();
}