I'm a Flutter programmer and I'm stuck halfway to completing my app, the problem is that I have an empty JSON file shown in the following image, I want the user to fill it in and send it to firebase but I haven't found any solutions to do that. Is my thinking the illogical or did I just not find the idea?
Any suggestion or code would be greatly appreciated.
Object data = {
"name": name,
"age": age,
"gender": gender,
"phone": phone,
};
yourJson[0] = data;
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.