I was trying to create a custom action using https://github.com/jgithaiga/flutter_sms_inbox package.
I want to read SMS messages on the device and return them as a list.
flutter_sms_inbox has a SmsMessage
class that I want to use as a return type.
But I can't, because flutterFlow does not have it among it default data types, or under Data Types.
How can I fix this?
Should I create some new MySmsMessage class and do the mapping before returning it from the action, to make it work?
How to get DataTypes from imported package
1
1 reply