chat dart flutter mysql

How to create Flutter chat app with PHP Mysql rest api?

I want to create a chat app in Flutter but all chat data need to store on my server Mysql via PHP API as backend. (I do not want Firebase Firestore or Realtime database)

As many people create chat app on the web via the help of JavaScript, jQuery & Ajax but I don’t know how I will use this on Flutter.