Future <void> insertRecord(Map<String,dynamic> data,String collectionName)async{ await client.collection(collectionName).create(body: data); }