Input constructor
Input({})
Implementation
factory Input({
Stake? stake,
Unstake? unstake,
Withdraw? withdraw,
$core.String? smartContractAddress,
Protocol? protocol,
Blockchain? blockchain,
}) {
final $result = create();
if (stake != null) {
$result.stake = stake;
}
if (unstake != null) {
$result.unstake = unstake;
}
if (withdraw != null) {
$result.withdraw = withdraw;
}
if (smartContractAddress != null) {
$result.smartContractAddress = smartContractAddress;
}
if (protocol != null) {
$result.protocol = protocol;
}
if (blockchain != null) {
$result.blockchain = blockchain;
}
return $result;
}