encode method

Object encode()

Implementation

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