The API being used returns DateTime values as strings like "2025-02-04T17:20:59+00:00" and we would like to use the built in static fromSerializableMap functions that are part of the Data Types we have defined. However, it is expecting this to be milliseconds since epoch and only parses that way. I can easily adjust the function to parse the string correctly but I am not sure that I should be altering flutter flow provided files and suspect they will be overwritten as updates are released. What is the correct way to handle this. We will have 100's of data types defined that need to be filled from our API access results. This also is not using the API system built into flutter flow as we are accessing a GraphQL endpoint and using custom code to handle the calls which is working fine.
Override deserializeParam in serialization_util.dart
Database & APIs
Currently we are manually just converting things and not using the functions provided with data types but this is not scalable to the 100's of data types we need to support and really the conversion works for ALL other fields coming from the API with the exception of DateTime.
Yes
2