DVVTriplet constructor

DVVTriplet({
  1. String? delegatorAddress,
  2. String? validatorSrcAddress,
  3. String? validatorDstAddress,
})

Implementation

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