AdRewardEvent.fromJson constructor

AdRewardEvent.fromJson(
  1. Map json
)

Implementation

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