Need Help - Binding API Response to Data Type

Database & APIs

I'm encountering an issue while trying to bind an API response to a data type, and I could really use some assistance in resolving it. Whenever I attempt to bind the response, I'm consistently faced with an error.

Here's the error:

Another exception was thrown: TypeError: "2024-02-02T14:13:44": type 'String' is not a subtype of type 'DateTime?'

I've been troubleshooting this for a while now, If anyone has experience with handling API responses in FlutterFlow or has encountered a similar issue before, I would greatly appreciate your insights and guidance on how to fix this.

Thanks in advance for any help you can provide!

What have you tried so far?

For now I'm using custom function to convert datetime.

Did you check FlutterFlow's Documentation for this topic?
No
2
7 replies