ReferralData.fromJSON constructor

ReferralData.fromJSON(
  1. Map<String, dynamic> json
)

Implementation

ReferralData.fromJSON(Map<String, dynamic> json)
    : token = json['token'],
      referrerUserId = json['referrerUserId'],
      referrerChannelId = json['referrerChannelId'],
      isFirstMatch = json['isFirstMatch'],
      isFirstMatchLink = json['isFirstMatchLink'],
      isGuaranteedMatch = json['isGuaranteedMatch'],
      isReinstall = json['isReinstall'],
      linkParams = Map<String, String>.from(json['linkParams']),
      originalLinkParams =
          Map<String, String>.from(json['originalLinkParams']);