ValidatorSlashEvents constructor

ValidatorSlashEvents({
  1. Iterable<ValidatorSlashEvent>? validatorSlashEvents,
})

Implementation

factory ValidatorSlashEvents({
  $core.Iterable<ValidatorSlashEvent>? validatorSlashEvents,
}) {
  final _result = create();
  if (validatorSlashEvents != null) {
    _result.validatorSlashEvents.addAll(validatorSlashEvents);
  }
  return _result;
}