a-marenkov / gsheets

A Dart library for working with Google Sheets API.
Other
78 stars 31 forks source link

How to update the row based on any column title #94

Open SanketKudale opened 12 months ago

SanketKudale commented 12 months ago

static Future<bool> update(String Item_Name, Map<String, dynamic> product) async { if (productSheet == null) return false; return productSheet!.values.map.insertRowByKey(Item_Name, product, mapTo: "Item_Name", overwrite: true); }

I am trying to use this code to update but it does not update and I cannot understand how to update