Map<String, dynamic> toJson() { return { 'network_identifier': networkIdentifier.toJson(), 'signed_transaction': signedTransaction, }..removeWhere((key, value) => value == null); }