RewardHistoryList.fromJson constructor

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

Implementation

RewardHistoryList.fromJson(Map<String, dynamic> json)
    : count = json['count'],
      list = (json['list'] as List)
          .map((entry) => RewardHistoryEntry.fromJson(entry))
          .toList();