TransactionBalanceTrace constructor

TransactionBalanceTrace({
  1. List<int>? transactionIdentifier,
  2. List<TransactionBalanceTraceOperation>? operation,
  3. String? type,
  4. String? status,
})

Create a new TransactionBalanceTrace instance with specified parameters.

Implementation

TransactionBalanceTrace(
    {List<int>? transactionIdentifier,
    List<TransactionBalanceTraceOperation>? operation,
    this.type,
    this.status})
    : transactionIdentifier =
          BytesUtils.tryToBytes(transactionIdentifier, unmodifiable: true),
      operation = operation == null
          ? null
          : List<TransactionBalanceTraceOperation>.unmodifiable(operation);