GetBlockResponse.fromJson constructor
Implementation
factory GetBlockResponse.fromJson(Map<String, dynamic> json) {
return GetBlockResponse(
block: ValueHolder.fromJson(json['Block'] as Map<String, dynamic>),
proof: json['Proof'] != null
? ValueHolder.fromJson(json['Proof'] as Map<String, dynamic>)
: null,
);
}