// // // import 'package:flutter/cupertino.dart'; // import 'package:generp/Models/ordersModels/commonResponse.dart'; // import 'package:generp/services/api_calling.dart'; // // class EditCommonAccountProvider extends ChangeNotifier{ // bool isLoading = false; // String? errorMessage; // CommonResponse? updateResponse; // // Future updateAccountForm() async{ // // try{ // isLoading = true; // errorMessage = null; // notifyListeners(); // // updateResponse = await ApiCalling.commonUpdateAccountDetailsAPI( // empId, // sessionId, // type, // name, // mob1, // mob2, // tel, // email, // designation, // address, // state, // district, // subLocality, // bankName, // branchName, // bankIfscCode, // accHolderName, // bankAccNumber, // bankUpiId // ); // // if (updateResponse == null){ // errorMessage = "No Response from server"; // } // } // // // } // // }