ValidatorSlashEvent constructor

ValidatorSlashEvent({
  1. Int64? validatorPeriod,
  2. String? fraction,
})

Implementation

factory ValidatorSlashEvent({
  $fixnum.Int64? validatorPeriod,
  $core.String? fraction,
}) {
  final _result = create();
  if (validatorPeriod != null) {
    _result.validatorPeriod = validatorPeriod;
  }
  if (fraction != null) {
    _result.fraction = fraction;
  }
  return _result;
}