This is the code i have written but facing some error like "cant use String in getOptions()"
totalClasses = await FirebaseFirestore.instance .collection('tutors') .doc(uid) .get("TotalClassesTook") .then((value) { return value.data(); }); How to retrieve the TotalClassesTook field value from this doc Error image
getOptions?