SafariMpnBuilder class

Utility class that provides methods to build or parse the JSON structure used to represent the format of a push notification.

It provides getters and setters for the fields of a push notification, following the format specified by Apple Push Notification Service (APNs). This format is compatible with MpnSubscription.setNotificationFormat.

Available Extensions
Annotations

Constructors

SafariMpnBuilder([String? notificationFormat])
Creates an object to be used to create a push notification format.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited