payload property

Map<String, Object?>? payload
getter/setter pair

APNs payload as a JSON object, including both aps dictionary and custom payload.

See Payload Key Reference. If present, it overrides google.firebase.fcm.v1.Notification.title and google.firebase.fcm.v1.Notification.body.

The values for Object must be JSON objects. It can consist of num, String, bool and null as well as Map and List values.

Implementation

core.Map<core.String, core.Object?>? payload;