VoteDelegation constructor

VoteDelegation({
  1. String? stakingAddress,
  2. VoteDelegation_DRepType? drepType,
  3. String? drepId,
})

Implementation

factory VoteDelegation({
  $core.String? stakingAddress,
  VoteDelegation_DRepType? drepType,
  $core.String? drepId,
}) {
  final $result = create();
  if (stakingAddress != null) {
    $result.stakingAddress = stakingAddress;
  }
  if (drepType != null) {
    $result.drepType = drepType;
  }
  if (drepId != null) {
    $result.drepId = drepId;
  }
  return $result;
}