When sending a RemoteMessage, this listener is called when an error is thrown and the message could not be sent.
RemoteMessage
Messaging instance.
Called when the FCM sends the remote message to FCM.
Function to unsubscribe from the send error listener.
When sending a
RemoteMessage, this listener is called when an error is thrown and the message could not be sent.