Equivocation constructor
Equivocation(
{ - Int64? height,
- Timestamp? time,
- Int64? power,
- 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;
}