How to get all SMS messages and export to csv? in flutter sms package

flutter"s sms package has a method to get all the text messages, but it returns a future object.
how do I get the content and export it to a csv file?

Mar.19,2022
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e5a186-448d8.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e5a186-448d8.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?