Staking_CandidateBasicInfo constructor

Staking_CandidateBasicInfo({
  1. String? name,
  2. String? operatorAddress,
  3. String? rewardAddress,
})

Implementation

factory Staking_CandidateBasicInfo({
  $core.String? name,
  $core.String? operatorAddress,
  $core.String? rewardAddress,
}) {
  final result = create();
  if (name != null) result.name = name;
  if (operatorAddress != null) result.operatorAddress = operatorAddress;
  if (rewardAddress != null) result.rewardAddress = rewardAddress;
  return result;
}