Blockchain.fromJson constructor
Implementation
factory Blockchain.fromJson(Map<String, dynamic> data) {
return Blockchain(
blockchain: List<BlockchainInfo>.from(
data['blockchain'].map((e) => BlockchainInfo.fromJson(e))),
reverted: List<int?>.from(data["reverted"]),
totalEpochs: data["total_epochs"]);
}