toJson method
Implementation
Map<String, dynamic> toJson() {
return {
'network_identifier': networkIdentifier.toJson(),
'block_identifier': blockIdentifier.toJson(),
'transaction_identifier': transactionIdentifier.toJson(),
}..removeWhere((key, value) => value == null);
}