BlockResponse.fromJson constructor
Implementation
factory BlockResponse.fromJson(Map<String, dynamic> map) {
return BlockResponse(
map['block'] != null ? Block.fromJson(map['block']) : null,
map['other_transactions'] != null
? (map['other_transactions'] as List)
.map((e) => TransactionIdentifier.fromJson(e))
.toList()
: null,
);
}