Recently I've developed a native ios library using Swift 5.
This library is being distributed using Cocoapods and now that is done I would like to know if there's any method to use that same library in a Flutter application from Cocoapods and which is the best way to do it.
What I've tried so far:
I tried creating a flutter demo app and moving to /ios for running pod init and later configuring my Podfile to point the source of the Pod and after that I did a pod install.
Apparently this works, because if I go to my Runner.xcworkspace and add
import MyLib
to the AppDelegate, it compiles.
The thing is, how do I access the methods and classes of the Pod from my Dart code? Is it possible or I have to manage that interaction directly from Swift?
Thank you very much.