setData method

FirebaseMpnBuilder setData(
  1. Map<String, String>? data
)

Sets sub-fields of the android.data field.

  • data A map to be used for sub-fields of the android.data field, or null to clear it.

Returns this MpnBuilder object, for fluent use.

Implementation

FirebaseMpnBuilder setData(Map<String, String>? data) {
  _data = data == null ? null : Map.from(data);
  return this;
}