Staking_Bond constructor

Staking_Bond({
  1. String? controller,
  2. List<int>? value,
  3. RewardDestination? rewardDestination,
})

Implementation

factory Staking_Bond({
  $core.String? controller,
  $core.List<$core.int>? value,
  RewardDestination? rewardDestination,
}) {
  final _result = create();
  if (controller != null) {
    _result.controller = controller;
  }
  if (value != null) {
    _result.value = value;
  }
  if (rewardDestination != null) {
    _result.rewardDestination = rewardDestination;
  }
  return _result;
}