Delegate constructor

Delegate({
  1. String? stakingAddress,
  2. List<int>? poolId,
  3. Int64? depositAmount,
})

Implementation

factory Delegate({
  $core.String? stakingAddress,
  $core.List<$core.int>? poolId,
  $fixnum.Int64? depositAmount,
}) {
  final _result = create();
  if (stakingAddress != null) {
    _result.stakingAddress = stakingAddress;
  }
  if (poolId != null) {
    _result.poolId = poolId;
  }
  if (depositAmount != null) {
    _result.depositAmount = depositAmount;
  }
  return _result;
}