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,
$0.SigningInput? bitcoin,
$1.SigningInput? ethereum,
$2.SigningInput? binance,
$3.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;
}