+++ UPDATE > SOLVED: If interested, read the input from Steven Liu below. +++
Dear all, I am becoming increasingly frustrated with the FF custom code environment.
I'm sure it's me, but after reviewing the code, the set Return Value, and the parameters, I still can't pinpoint what's wrong.
If anybody has a hint, please! Thank you!
This is the code with just the arguments + the return value that can not be saved. At all.
// Automatic FlutterFlow imports
import '/backend/backend.dart';
import '/flutter_flow/flutter_flow_theme.dart';
import '/flutter_flow/flutter_flow_util.dart';
import '/flutter_flow/custom_functions.dart';
import 'package:flutter/material.dart';
// Begin custom action code
// DO NOT REMOVE OR MODIFY THE CODE ABOVE!
import 'package:cloud_firestore/cloud_firestore.dart';
Future<bool> checkAndDeductCredits({
required DocumentReference userRef,
required String featureType,
required bool isValidInput,
}) async {
return true; // Simple placeholder
}