ApphudNotificationPayload.fromJson constructor

ApphudNotificationPayload.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory ApphudNotificationPayload.fromJson(Map<String, dynamic> json) {
  return ApphudNotificationPayload(
    ruleId: json['ruleId'],
    ruleName: json['ruleName'],
    screenId: json['screenId'],
    screenName: json['screenName'],
    custom: json['custom'],
  );
}