encode method
Implementation
Object encode() {
return <Object?>[
messageId,
priority,
ttl,
collapseKey,
data,
notification?.encode(),
];
}
Object encode() {
return <Object?>[
messageId,
priority,
ttl,
collapseKey,
data,
notification?.encode(),
];
}