How to insert data into sqflite and then sync into server in flutter
I require the functionality to insert a customer into SQFlite, ensuring synchronization with the server in both offline and online scenarios. The process entails initially inserting the data into SQFlite; upon synchronization with the server, the inserted data is then synchronized with the server. Following synchronization, the respective IDs in the table are updated with the server-assigned IDs