Transaction constructor

Transaction({
  1. required TransactionRaw rawData,
  2. required List<List<int>> signature,
})

Create a new Transaction instance with specified parameters.

Implementation

Transaction({required this.rawData, required List<List<int>> signature})
    : signature = signature
          .map((e) => BytesUtils.toBytes(e, unmodifiable: true))
          .toList();