Withdraw constructor

Withdraw({
  1. String? stakingAddress,
  2. Int64? withdrawAmount,
})

Implementation

factory Withdraw({
  $core.String? stakingAddress,
  $fixnum.Int64? withdrawAmount,
}) {
  final _result = create();
  if (stakingAddress != null) {
    _result.stakingAddress = stakingAddress;
  }
  if (withdrawAmount != null) {
    _result.withdrawAmount = withdrawAmount;
  }
  return _result;
}