useAsV1DataMessage property
If set to true, this RemoteNotification message will be delivered to
legacy V1 clients as a data message by omitting the
google.firebase.fcm.v1.AndroidRemoteNotification.notification.
This should only be enabled when migrating from legacy V1 data messages. Note that by default (when set to false), RemoteNotification messages are automatically translated to V1 notification messages for legacy clients.
Optional.
Implementation
core.bool? useAsV1DataMessage;