toJson method
Implementation
Map<String, dynamic> toJson() => {
"network_identifier": network_identifier.toJson(),
"signed": signed,
"transaction": transaction
}..removeWhere(
(dynamic key, dynamic value) => key == null || value == null);