fromJson

fun fromJson(jsonString: String): PushNotification

Create a PushNotification from a JSON string.

Return

A PushNotification.

Parameters

jsonString

The JSON string.

Throws

SerializationException

if the JSON is invalid.