Equivocation constructor

Equivocation({
  1. Int64? height,
  2. Timestamp? time,
  3. Int64? power,
  4. String? consensusAddress,
})

Implementation

factory Equivocation({
  $fixnum.Int64? height,
  $4.Timestamp? time,
  $fixnum.Int64? power,
  $core.String? consensusAddress,
}) {
  final _result = create();
  if (height != null) {
    _result.height = height;
  }
  if (time != null) {
    _result.time = time;
  }
  if (power != null) {
    _result.power = power;
  }
  if (consensusAddress != null) {
    _result.consensusAddress = consensusAddress;
  }
  return _result;
}