TransactionBuilder constructor Null safety
- String txType
Implementation
TransactionBuilder(String txType) {
type = txType;
data = Data.fromJson({
'content': Uint8List(0),
'code': Uint8List(0),
'keys': {'secret': Uint8List(0), 'authorizedKeys': {}},
'ledger': {
'uco': {'transfers': []},
'nft': {'transfers': []}
},
'recipients': []
});
}