SwapOutput constructor
SwapOutput({
- Chain? fromChain,
- Chain? toChain,
- Error? error,
- SigningInput? bitcoin,
- SigningInput? ethereum,
- SigningInput? binance,
Implementation
factory SwapOutput({
Chain? fromChain,
Chain? toChain,
Error? error,
$1.SigningInput? bitcoin,
$2.SigningInput? ethereum,
$3.SigningInput? binance,
}) {
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;
}
return _result;
}