FirebaseMpnBuilderExt extension
Methods
-
build(
) → String - Produces the JSON structure for the push notification format specified by this object.
-
getBody(
) → String? -
Gets the value of
webpush.notification.bodyfield. -
getData(
) → Map< String, String> ? -
Gets sub-fields of the
webpush.datafield. -
getHeaders(
) → Map< String, String> ? -
Gets sub-fields of the
webpush.headersfield. -
getIcon(
) → String? -
Gets the value of
webpush.notification.iconfield. -
getTitle(
) → String? -
Gets the value of
webpush.notification.titlefield. -
setBody(
String? body) → FirebaseMpnBuilder -
Sets the
webpush.notification.bodyfield. -
setData(
Map< String, String> ? data) → FirebaseMpnBuilder -
Sets sub-fields of the
webpush.datafield. -
setHeaders(
Map< String, String> ? headers) → FirebaseMpnBuilder -
Sets sub-fields of the
webpush.headersfield. -
setIcon(
String? icon) → FirebaseMpnBuilder -
Sets the
webpush.notification.iconfield. -
setTitle(
String? title) → FirebaseMpnBuilder -
Sets the
webpush.notification.titlefield.