WithdrawRequest constructor
WithdrawRequest({
- String? userId,
- String? toAddress,
- double? amount,
- CurrencyPair? pair,
Implementation
factory WithdrawRequest({
$core.String? userId,
$core.String? toAddress,
$core.double? amount,
CurrencyPair? pair,
}) {
final $result = create();
if (userId != null) {
$result.userId = userId;
}
if (toAddress != null) {
$result.toAddress = toAddress;
}
if (amount != null) {
$result.amount = amount;
}
if (pair != null) {
$result.pair = pair;
}
return $result;
}