First, you need to Learn:
Read moreHow do you send a live location on flutter?
2- Once you’re logged in, Head up to Setup Page where you will find: your Publishable Key, AccountId and SecretKey. 3- Connect your project to Firebase & then from Side menu > Project settings > cloud Messaging, copy the Server Key and paste it to Server to Device communication > Android section in your Setup Page.
Read more