FirebaseMpnBuilder.from constructor

FirebaseMpnBuilder.from(
  1. String notificationFormat
)

Creates an object based on the specified push notification format.

Use getter methods to obtain the value of push notification fields.

  • notificationFormat A JSON structure representing a push notification format.

Throws IllegalArgumentException if the notification is not a valid JSON structure.

Implementation

FirebaseMpnBuilder.from(String notificationFormat) : _notificationFormat = notificationFormat;