TxResult constructor

TxResult({
  1. Int64? height,
  2. int? index,
  3. List<int>? tx,
  4. ResponseDeliverTx? result,
})

Implementation

factory TxResult({
  $fixnum.Int64? height,
  $core.int? index,
  $core.List<$core.int>? tx,
  ResponseDeliverTx? result,
}) {
  final _result = create();
  if (height != null) {
    _result.height = height;
  }
  if (index != null) {
    _result.index = index;
  }
  if (tx != null) {
    _result.tx = tx;
  }
  if (result != null) {
    _result.result = result;
  }
  return _result;
}