PillarEpochHistoryList.fromJson constructor

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

Implementation

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