DelegatorWithdrawInfo constructor

DelegatorWithdrawInfo({
  1. String? delegatorAddress,
  2. String? withdrawAddress,
})

Implementation

factory DelegatorWithdrawInfo({
  $core.String? delegatorAddress,
  $core.String? withdrawAddress,
}) {
  final _result = create();
  if (delegatorAddress != null) {
    _result.delegatorAddress = delegatorAddress;
  }
  if (withdrawAddress != null) {
    _result.withdrawAddress = withdrawAddress;
  }
  return _result;
}