Hello FlutterFlow Support Team,
In the project I am developing on the FlutterFlow platform, I want to create a SerialPortService class to enable serial port communication using the flutter_libserialport library. However, I am not entirely sure how to add custom Dart code in FlutterFlow and use this class in my project.
The steps I plan to take in my project are as follows:
Create a Dart class named SerialPortService.
Include functions in this class to handle opening, closing, reading from, and writing to the serial port using the flutter_libserialport library.
Use this class in specific parts of my FlutterFlow project.