Data.fromJson constructor

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

Implementation

Data.fromJson(Map<String, dynamic> json) {
  totalNEOMilesGiven = json['TotalNEOMilesGiven'];
  totalNoOfFounders = json['TotalNoOfFounders'];
  totalNoOfBookingsSold = json['TotalNoOfBookingsSold'];
  totalProfit = json['TotalProfit'];
  totalProfitCurrency = json['TotalProfitCurrency'];
  totalNoOfFoundersSlots = json['TotalNoOfFoundersSlots'];
  totalNoOfSubscribers = json['TotalNoOfSubscribers'];
}