NtiuspPayload.fromJson constructor

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

Implementation

factory NtiuspPayload.fromJson(Map<String, dynamic> json) {
  return NtiuspPayload(
    pushId: json['pushId'] ?? '',
    notiType: json['notiType'] ?? '',
    notiOptVal: json['notiOptVal'] ?? '',
    dataContent: json['dataContent'] ?? '',
    notiMsgTitle: json['notiMsgTitle'] ?? '',
    notiMsg: json['notiMsg'] ?? '',
    notiLnkUrl: json['notiLnkUrl'] ?? '',
    gubunCd: json['gubunCd'] ?? '',
    notiImgUrl: json['notiImgUrl'] ?? '',
    reportUrl: json['reportUrl'] ?? '',
  );
}