toJson method
Implementation
Map<String, dynamic> toJson() => {
"block": block?.toJson(),
"other_transactions":
other_transactions?.map((e) => e.toJson()).toList()
}..removeWhere(
(dynamic key, dynamic value) => key == null || value == null);