How to map JSON output to component parameter that requires user reference?

Database & APIs

I am receiving a JSON output from an API call. This output contains a firebase field that has a user ID reference as shown below:

What the JSON returns is this:"userID": {

"userID": {
        "_firestore": {
          "projectId": "my_project_id"
        },
        "_path": {
          "segments": [
            "users",
            "**************XoRhWQJCJ66oT2"
          ]
        },


Now this is what my component is expecting:

As you can see, I dont have a good option to map the JSON to the component variable.
How does one achieve something like this?

What have you tried so far?

I have described all the steps I have done above.

Did you check FlutterFlow's Documentation for this topic?
Yes
1
2 replies