AdRewardEvent.fromJson constructor

AdRewardEvent.fromJson(
  1. Map json
)

Implementation

factory AdRewardEvent.fromJson(Map<dynamic, dynamic> json) {
  return AdRewardEvent(
    adId: json['adId'],
    action: json['action'],
    rewardVerify: json['rewardVerify'],
    rewardAmount: json['rewardAmount'],
    rewardName: json['rewardName'],
    errCode: json['errCode'],
    errMsg: json['errMsg'],
    customData: json['customData'],
    userId: json['userId'],
  );
}