BroadcastTxRequest constructor

BroadcastTxRequest({
  1. List<int>? txBytes,
  2. BroadcastMode? mode,
})

Implementation

factory BroadcastTxRequest({
  $core.List<$core.int>? txBytes,
  BroadcastMode? mode,
}) {
  final _result = create();
  if (txBytes != null) {
    _result.txBytes = txBytes;
  }
  if (mode != null) {
    _result.mode = mode;
  }
  return _result;
}