Period.fromJson constructor
Implementation
factory Period.fromJson(Map<String, dynamic> json) {
return Period(
slotNum: json['slotNum'],
fromBlock: json['fromBlock'],
toBlock: json['toBlock'],
fromTimestamp: json['fromTimestamp'],
toTimestamp: json['toTimestamp']);
}