Subscriber.fromJson constructor
Implementation
Subscriber.fromJson(Map<String, dynamic> json) {
uid = json['uid'];
referralCode = json['referralCode'];
isGlobalSalesPool = json['isGlobalSalesPool'];
isFounder = json['isFounder'];
wallet = json['wallet'];
founderShares = json['founderShares'];
parentId = json['parentId'];
createdAt = json['createdAt'];
updatedAt = json['updatedAt'];
}