ConcurrentMerkleTree.fromJson constructor
Implementation
factory ConcurrentMerkleTree.fromJson(Map<String, dynamic> json) {
return ConcurrentMerkleTree(
sequenceNumber: json["sequenceNumber"],
activeIndex: json["activeIndex"],
bufferSize: json["bufferSize"],
changeLogs: (json["changeLogs"] as List)
.map((e) => ChangeLog.fromJson(e))
.toList(),
rightMostPath: Path.fromJson(json["rightMostPath"]));
}