SwapOutput constructor
      
      SwapOutput({ 
    
    
- Chain? fromChain,
- Chain? toChain,
- Error? error,
- SigningInput? bitcoin,
- SigningInput? ethereum,
- SigningInput? binance,
- SigningInput? cosmos,
Implementation
factory SwapOutput({
  Chain? fromChain,
  Chain? toChain,
  Error? error,
  $6.SigningInput? bitcoin,
  $7.SigningInput? ethereum,
  $11.SigningInput? binance,
  $8.SigningInput? cosmos,
}) {
  final $result = create();
  if (fromChain != null) {
    $result.fromChain = fromChain;
  }
  if (toChain != null) {
    $result.toChain = toChain;
  }
  if (error != null) {
    $result.error = error;
  }
  if (bitcoin != null) {
    $result.bitcoin = bitcoin;
  }
  if (ethereum != null) {
    $result.ethereum = ethereum;
  }
  if (binance != null) {
    $result.binance = binance;
  }
  if (cosmos != null) {
    $result.cosmos = cosmos;
  }
  return $result;
}