Future<void> updateCustomer(Customer customer) async { final db = await database; await db.update( 'customers', customer.toMap(), where: 'id = ?', whereArgs: [customer.id], ); }