setHeaders method

FirebaseMpnBuilder setHeaders(
  1. Map<String, String>? headers
)

Sets sub-fields of the webpush.headers field.

  • headers map to be used for sub-fields of the webpush.headers field, or null to clear it.

Returns this MpnBuilder object, for fluent use.

Implementation

FirebaseMpnBuilder setHeaders(Map<String, String>? headers) {
  return _setHeaders(jsify(headers));
}