changeValue method
Implementation
@override
Future<HomeMenuModel> changeValue(
String documentId, String fieldName, num changeByThisValue) {
return reference
.changeValue(documentId, fieldName, changeByThisValue)
.then((newValue) {
fullCache[documentId] = newValue;
return newValue!;
});
}