This one make the payload data models Equatable, again to ease tests. To do this, I had to convert some models from class to struct (FCMApnsPayload and FCMApnsApsObject).
Is there a particular reason for using class here or it is simply a default choice?
I also renamed the FCMApnsAlertOrString to asPayload/asMessage as mentioned in the previous one.
Sorry, it's me again 😬
Should be the last PR I need for now. 🤞
This one make the payload data models
Equatable
, again to ease tests. To do this, I had to convert some models fromclass
tostruct
(FCMApnsPayload
andFCMApnsApsObject
).Is there a particular reason for using
class
here or it is simply a default choice?I also renamed the
FCMApnsAlertOrString
toasPayload
/asMessage
as mentioned in the previous one.Again, thanks very much for your quick reviews.