ScStateElement.fromJson constructor
Implementation
factory ScStateElement.fromJson(Map<String, dynamic> json) {
return ScStateElement(
leafIndex: json['leafIndex'] ?? 0,
merkleProof: (json['merkleProof'] as List? ?? [])
.map((item) => '$item')
.toList(),
);
}