TransactionBuilder constructor Null safety

TransactionBuilder(
  1. String txType
)

Implementation

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