addData method

RemoteMessageBuilder addData(
  1. String key,
  2. String value
)

Adds key-value pair data to a message.

Implementation

RemoteMessageBuilder addData(String key, String value) {
  data[key] = value;
  return this;
}