data property

Map<String, String>? data
final

The data message payload.

Data messages let developers send up to 4KB of custom key-value pairs. The keys and values must both be strings. Keys can be any custom string, except for the following reserved strings:

  • from
  • Anything starting with google.

See Build send requests for code samples and detailed documentation.

Implementation

final Map<String, String>? data;