Staking_Bond constructor

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

Implementation

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