DelegatorStartingInfoRecord constructor

DelegatorStartingInfoRecord({
  1. String? delegatorAddress,
  2. String? validatorAddress,
  3. DelegatorStartingInfo? startingInfo,
})

Implementation

factory DelegatorStartingInfoRecord({
  $core.String? delegatorAddress,
  $core.String? validatorAddress,
  $3.DelegatorStartingInfo? startingInfo,
}) {
  final _result = create();
  if (delegatorAddress != null) {
    _result.delegatorAddress = delegatorAddress;
  }
  if (validatorAddress != null) {
    _result.validatorAddress = validatorAddress;
  }
  if (startingInfo != null) {
    _result.startingInfo = startingInfo;
  }
  return _result;
}