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