fromJson static method

NotificationResponseEvent fromJson(
  1. dynamic json
)

Implementation

static NotificationResponseEvent fromJson(dynamic json) {
  var actionId = json["actionId"];
  var isForeground = json["isForeground"];
  var pushPayload = PushPayload.fromJson(json["pushPayload"]);

  return NotificationResponseEvent._internal(
      actionId, isForeground, pushPayload);
}