OnMessageMessage constructor
OnMessageMessage(
{ - required Map data,
- String? from,
- String? collapseKey,
})
Implementation
OnMessageMessage({
/// The message data.
required Map data,
/// The sender who issued the message.
String? from,
/// The collapse key of a message. See the <a
/// href='https://firebase.google.com/docs/cloud-messaging/concept-options#collapsible_and_non-collapsible_messages'>Non-collapsible
/// and collapsible messages</a> for details.
String? collapseKey,
}) : _wrapped = $js.OnMessageMessage(
data: data.jsify()!,
from: from,
collapseKey: collapseKey,
);