An example of how to use Firebase Messaging to send from one user to another.
It is recommended to have the server key on the backend side but if that is not possible, you can use this example.\
It was tested on Android
Insert your own google_services.json in project
Get the firebase Server Key and insert it in .env file
clean the project -> do pub get -> dart run build_runner build
Ready